mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-12 21:49:01 +08:00
✨ Introducing new features. closed #4604 代码生成增加逻辑删除字段注解自动生成
This commit is contained in:
1 parent
212a6182c1
commit
eda6d43137
1 file changed
+3
@@ -51,6 +51,9 @@ public class ${className} extends Model<${className}> {
|
|||||||
*/
|
*/
|
||||||
#if($column.columnName == $pk.columnName)
|
#if($column.columnName == $pk.columnName)
|
||||||
@TableId(type = IdType.ASSIGN_ID)
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
|
#end
|
||||||
|
#if($column.columnName == 'del_flag')
|
||||||
|
@TableLogic
|
||||||
#end
|
#end
|
||||||
@Schema(description="$column.comments"#if($column.hidden),hidden=$column.hidden#end)
|
@Schema(description="$column.comments"#if($column.hidden),hidden=$column.hidden#end)
|
||||||
private $column.attrType $column.lowerAttrName;
|
private $column.attrType $column.lowerAttrName;
|
||||||
|
|||||||
Reference in new issue
Block a user