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