package cc.mrbird.febs.common.core.entity.system;
|
|
import cc.mrbird.febs.common.core.annotation.FieldInfo;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.Version;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* name:Position
|
* package:cc.mrbird.febs.server.system.controller
|
* description:岗位信息数据表映射实体
|
*
|
* @author Alan
|
* @date 2021-02-16 11:52:53
|
* @since JDK1.8
|
*/
|
@Data
|
@TableName("t_position")
|
public class Position implements Serializable {
|
|
@FieldInfo(name = "positionId", type = "varchar", explain = "岗位Id")
|
@TableId(value = "positionId")
|
private Long positionId = 0L;
|
|
@FieldInfo(name = "positionName", type = "varchar", explain = "岗位名称")
|
@TableField("positionName")
|
private String positionName = "";
|
|
@FieldInfo(name = "positionCode", type = "varchar", explain = "岗位编码")
|
@TableField("positionCode")
|
private String positionCode = "";
|
|
@FieldInfo(name = "customerId", type = "bigint", explain = "租户Id")
|
@TableField("customerId")
|
private Long customerId = 0L;
|
|
@FieldInfo(name = "createTime", type = "datetime", explain = "记录创建时间")
|
@TableField("createTime")
|
private Date createTime;
|
|
@FieldInfo(name = "creator", type = "varchar", explain = "记录创建人")
|
@TableField("creator")
|
private String creator = "";
|
|
@FieldInfo(name = "modifyTime", type = "datetime", explain = "记录最后更新时间")
|
@TableField("modifyTime")
|
private Date modifyTime;
|
|
@FieldInfo(name = "modifier", type = "varchar", explain = "记录最后更新人")
|
@TableField("modifier")
|
private String modifier = "";
|
|
@FieldInfo(name = "delFlag", type = "bit", explain = "记录删除标志。0-未删除 1-已删除,默认0")
|
@TableField("delFlag")
|
private Integer delFlag = 0;
|
|
@TableField("version")
|
@Version
|
private Integer version = 0;
|
|
}
|