diff --git a/blade-ops/blade-develop/src/test/resources/templates/api-fast/entity.java.btl b/blade-ops/blade-develop/src/test/resources/templates/api-fast/entity.java.btl index 1f394ce..33d44ba 100644 --- a/blade-ops/blade-develop/src/test/resources/templates/api-fast/entity.java.btl +++ b/blade-ops/blade-develop/src/test/resources/templates/api-fast/entity.java.btl @@ -55,6 +55,13 @@ public class ${entityKey!} implements Serializable { private Long id; #} +#for(x in table.fields) { + /** + * ${x.comment!} + */ + public static final String COL_${x.columnName!} = "${x.columnName!}"; +#} + #for(x in table.fields) { #if(hasSuperEntity){ #if(x.propertyName!="id"&&x.propertyName!="createUser"&&x.propertyName!="createDept"&&x.propertyName!="createTime"&&x.propertyName!="updateUser"&&x.propertyName!="updateTime"&&x.propertyName!="status"&&x.propertyName!="isDeleted"&&x.propertyName!="tenantId"){