管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-12-23 8a373a66936407266e860a19c0d44c406baae7cc
src/main/java/com/lf/server/entity/all/BaseEntity.java
@@ -1,15 +1,18 @@
package com.lf.server.entity.all;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 基础实体类
 * @author WWW
 */
public class BaseEntity {
public class BaseEntity implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer gid;
@@ -28,6 +31,21 @@
    private Integer updateuser;
    private Timestamp updatetime;
    @TableField(value = "fn_rec_query(dirid,'dir')", updateStrategy = FieldStrategy.NEVER)
    private String dirName;
    @TableField(value = "fn_rec_query(depid,'dep')", updateStrategy = FieldStrategy.NEVER)
    private String depName;
    @TableField(value = "fn_ver(verid)", updateStrategy = FieldStrategy.NEVER)
    private String verName;
    @TableField(value = "fn_uname(createuser)", updateStrategy = FieldStrategy.NEVER)
    private String createName;
    @TableField(value = "fn_uname(updateuser)", updateStrategy = FieldStrategy.NEVER)
    private String updateName;
    public BaseEntity() {
    }
@@ -103,4 +121,44 @@
    public void setUpdatetime(Timestamp updatetime) {
        this.updatetime = updatetime;
    }
    public String getDirName() {
        return dirName;
    }
    public void setDirName(String dirName) {
        this.dirName = dirName;
    }
    public String getDepName() {
        return depName;
    }
    public void setDepName(String depName) {
        this.depName = depName;
    }
    public String getVerName() {
        return verName;
    }
    public void setVerName(String verName) {
        this.verName = verName;
    }
    public String getCreateName() {
        return createName;
    }
    public void setCreateName(String createName) {
        this.createName = createName;
    }
    public String getUpdateName() {
        return updateName;
    }
    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }
}