diff --git a/pigx-visual/pigx-codegen/src/main/resources/template/Entity.java.vm b/pigx-visual/pigx-codegen/src/main/resources/template/Entity.java.vm index 4b05adf26..97c267651 100755 --- a/pigx-visual/pigx-codegen/src/main/resources/template/Entity.java.vm +++ b/pigx-visual/pigx-codegen/src/main/resources/template/Entity.java.vm @@ -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;