✨ 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)
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
#end
|
||||
#if($column.columnName == 'del_flag')
|
||||
@TableLogic
|
||||
#end
|
||||
@Schema(description="$column.comments"#if($column.hidden),hidden=$column.hidden#end)
|
||||
private $column.attrType $column.lowerAttrName;
|
||||
|
||||
Reference in new issue
Block a user