}
private void evalField(DatabaseMeta db, MyTable table, Entity<?> entity, Field field, EntityField ef) {
field.setAccessible(true);
Column column = field.getAnnotation(Column.class);
String columnName=null;
if (null == column || Strings.isBlank(column.value())){
columnName=this.getOrmRule().javaField2DbField(field.getName());
}else{
columnName=column.value();
}
ef.setColumnName(columnName);
ef.setReadonly((field.getAnnotation(Readonly.class) != null));
MyField myField=table.getField(columnName);
ef.setNotNull(!myField.isAllowNull());