wip: 代码生成临时提交

This commit is contained in:
ray
2024-07-21 21:50:41 +08:00
parent b123658478
commit 2235f1f5a4
33 changed files with 912 additions and 85 deletions

View File

@@ -23,13 +23,14 @@ import com.youlai.system.common.base.BaseEntity;
public class ${entityName} extends BaseEntity {
private static final long serialVersionUID = 1L;
#foreach($field in ${table.fields})
#if("$!field.comment" != "")
#if($fieldConfigs)
#foreach($fieldConfig in ${fieldConfigs})
#if("$!fieldConfig.fieldComment" != "")
/**
* ${field.comment}
* ${fieldConfig.fieldComment}
*/
#end
private ${field.propertyType} ${field.propertyName};
#end
private ${fieldConfig.fieldType} ${fieldConfig.fieldName};
#end
#end
}