浏览代码

BaseClass

fanxp 7 月之前
父节点
当前提交
9de743cc46
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/main/java/com/xjrsoft/module/base/entity/BaseClass.java

+ 2 - 0
src/main/java/com/xjrsoft/module/base/entity/BaseClass.java

@@ -1,5 +1,6 @@
 package com.xjrsoft.module.base.entity;
 package com.xjrsoft.module.base.entity;
 
 
+import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.baomidou.mybatisplus.annotation.TableName;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import io.swagger.annotations.ApiModelProperty;
@@ -39,6 +40,7 @@ public class BaseClass implements Serializable {
     private Date modifyDate;
     private Date modifyDate;
 
 
     @ApiModelProperty("删除标记")
     @ApiModelProperty("删除标记")
+    @TableLogic
     private Integer deleteMark;
     private Integer deleteMark;
 
 
     @ApiModelProperty("有效标志")
     @ApiModelProperty("有效标志")