public void addMetadata() {
        addMetadata(companyId, ColumnMetadata.named("company_id").withIndex(3).ofType(4).withSize(10));
        addMetadata(id, ColumnMetadata.named("id").withIndex(1).ofType(4).withSize(10).notNull());
        addMetadata(name, ColumnMetadata.named("name").withIndex(2).ofType(12).withSize(255));
    }
SDepartment is a Querydsl query type for SDepartment
querydsl-jpa/src/test/java/com/querydsl/jpa/domain/sql/SDepartment.java