✨ Introducing new features. closed #4604 代码生成增加逻辑删除字段注解自动生成

This commit is contained in:
aeizzz committed 2023-01-04 15:44:38 +08:00
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;