This commit is contained in:
wea_ondara
2022-11-27 08:27:55 +01:00
parent 7407d673fb
commit e1203eb5f4
4 changed files with 8 additions and 27 deletions

View File

@@ -3,8 +3,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>jef</artifactId>
<groupId>jef</groupId>
<artifactId>jef</artifactId>
<version>0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -73,25 +73,6 @@ public class DbField<T> {
return entity.getKeys().stream().anyMatch(u -> u.getFields().size() == 1 && u.getFields().get(0) == this);
}
public DbField<T> setModelField(boolean modelField) {
isModelField = modelField;
return this;
}
public DbField<T> setDatabaseField(boolean databaseField) {
isDatabaseField = databaseField;
return this;
}
public DbField<T> setNotNull(boolean notNull) {
this.notNull = notNull;
return this;
}
public void setSqlType(String sqlType) {
this.sqlType = sqlType;
}
public void setGenerated(Generated.Type generated) {
Check.notNull(generated, "generated");
this.generated = generated;