package cn.stylefeng.guns.sys.modular.rest.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 字典类型表
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2019-04-01
|
*/
|
@TableName("sys_dict_type")
|
public class RestDictType implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 字典类型id
|
*/
|
@TableId(value = "dict_type_id", type = IdType.ID_WORKER)
|
private Long dictTypeId;
|
|
/**
|
* 字典类型编码
|
*/
|
@TableField("code")
|
private String code;
|
|
/**
|
* 字典类型名称
|
*/
|
@TableField("name")
|
private String name;
|
|
/**
|
* 字典描述
|
*/
|
@TableField("description")
|
private String description;
|
|
/**
|
* 是否是系统字典,Y-是,N-否
|
*/
|
@TableField("system_flag")
|
private String systemFlag;
|
|
/**
|
* 状态(字典)
|
*/
|
@TableField("status")
|
private String status;
|
|
/**
|
* 排序
|
*/
|
@TableField("sort")
|
private Integer sort;
|
|
/**
|
* 添加时间
|
*/
|
@TableField(value = "create_time", fill = FieldFill.INSERT)
|
private Date createTime;
|
|
/**
|
* 创建人
|
*/
|
@TableField(value = "create_user", fill = FieldFill.INSERT)
|
private Long createUser;
|
|
/**
|
* 修改时间
|
*/
|
@TableField(value = "update_time", fill = FieldFill.UPDATE)
|
private Date updateTime;
|
|
/**
|
* 修改人
|
*/
|
@TableField(value = "update_user", fill = FieldFill.UPDATE)
|
private Long updateUser;
|
|
|
public Long getDictTypeId() {
|
return dictTypeId;
|
}
|
|
public void setDictTypeId(Long dictTypeId) {
|
this.dictTypeId = dictTypeId;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public String getSystemFlag() {
|
return systemFlag;
|
}
|
|
public void setSystemFlag(String systemFlag) {
|
this.systemFlag = systemFlag;
|
}
|
|
public String getStatus() {
|
return status;
|
}
|
|
public void setStatus(String status) {
|
this.status = status;
|
}
|
|
public Integer getSort() {
|
return sort;
|
}
|
|
public void setSort(Integer sort) {
|
this.sort = sort;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Long getCreateUser() {
|
return createUser;
|
}
|
|
public void setCreateUser(Long createUser) {
|
this.createUser = createUser;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public Long getUpdateUser() {
|
return updateUser;
|
}
|
|
public void setUpdateUser(Long updateUser) {
|
this.updateUser = updateUser;
|
}
|
|
@Override
|
public String toString() {
|
return "DictType{" +
|
"dictTypeId=" + dictTypeId +
|
", code=" + code +
|
", name=" + name +
|
", description=" + description +
|
", systemFlag=" + systemFlag +
|
", status=" + status +
|
", sort=" + sort +
|
", createTime=" + createTime +
|
", createUser=" + createUser +
|
", updateTime=" + updateTime +
|
", updateUser=" + updateUser +
|
"}";
|
}
|
}
|