账套信息,代码优化!
This commit is contained in:
@@ -24,8 +24,8 @@ public class DefaultValue {
|
||||
basic.setProjectPath(ToolUtil.getProjectPath() + "/");
|
||||
basic.setPackagePath("com.cwhelp");
|
||||
basic.setAuthor("yan.y");
|
||||
basic.setGenModule("order");
|
||||
basic.setTablePrefix("or_");
|
||||
basic.setGenModule("bss");
|
||||
basic.setTablePrefix("bss_");
|
||||
return basic;
|
||||
}
|
||||
|
||||
@@ -35,13 +35,13 @@ public class DefaultValue {
|
||||
public static List<Field> fieldList(){
|
||||
List<Field> fields = new ArrayList<>();
|
||||
fields.add(new Field("id", "主键ID", FieldType.Long.getCode(), 0, true,null));
|
||||
fields.add(new Field("title", "标题", FieldType.String.getCode(), FieldQuery.Like.getCode(),true, Arrays.asList(new Integer[]{FieldVerify.NotNull.getCode()})));
|
||||
fields.add(new Field("remark", "备注", FieldType.String.getCode(), 0, false,null));
|
||||
fields.add(new Field("name", "名称", FieldType.String.getCode(), FieldQuery.Like.getCode(),true, Arrays.asList(new Integer[]{FieldVerify.NotNull.getCode()})));
|
||||
fields.add(new Field("createDate", "创建时间", FieldType.Date.getCode(), 0, true,null));
|
||||
fields.add(new Field("updateDate", "更新时间", FieldType.Date.getCode(), 0, true,null));
|
||||
fields.add(new Field("createBy", "创建者", FieldType.Object.getCode(), 0, false,null));
|
||||
fields.add(new Field("updateBy", "更新者", FieldType.Object.getCode(), 0, false,null));
|
||||
fields.add(new Field("status", "数据状态", FieldType.Byte.getCode(), 0, true,null));
|
||||
fields.add(new Field("remark", "备注", FieldType.String.getCode(), 0, false,null));
|
||||
return fields;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user