/** * 是否启用(0禁用1启用) */ @DataField(name = "ISLOGOUT", dataType = DataType.VARCHAR, chinese = "是否启用(0禁用1启用)" ) @Validate(title="是否启用" ,rule="isRequired()") private String ISLOGOUT; /** * 是否删除(0未删1已删) */ @DataField(name = "ISDELETE", dataType = DataType.VARCHAR, chinese = "是否删除(0未删1已删)", defaultValue = "#sf_df[" + StatusType.UNDELETE + "]" , isDelete = true ) private String ISDELETE = StatusType.UNDELETE; /** * 创建人 */ @DataField(name = "USERS_ID", dataType = DataType.VARCHAR, chinese = "创建人", defaultValue = "#sf_s[login:ID]" ) private String USERS_ID; /** * 创建时间 */ @DataField(name = "CTIME", dataType = DataType.VARCHAR, chinese = "创建时间", defaultValue = "#sf_d[now]" ) private String CTIME;
1.ISDELETE defaultValue = "#sf_df[" + StatusType.UNDELETE + "]" , isDelete = true private String ISDELETE = StatusType.UNDELETE; 2.创建人 defaultValue = "#sf_s[login:ID]" 3.创建时间 defaultValue = "#sf_d[now]"