package com.ruoyi.management.domain;
|
|
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.ruoyi.common.core.web.domain.BaseModel;
|
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 岗位信息表
|
* </p>
|
*
|
* @author 无关风月
|
* @since 2024-04-26
|
*/
|
@TableName("sys_post")
|
public class SysPost extends BaseModel {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 岗位ID
|
*/
|
@TableId(value = "post_id", type = IdType.AUTO)
|
private Long postId;
|
/**
|
* 岗位编码
|
*/
|
@TableField("post_code")
|
private String postCode;
|
/**
|
* 岗位名称
|
*/
|
@TableField("post_name")
|
private String postName;
|
/**
|
* 显示顺序
|
*/
|
@TableField("post_sort")
|
private Integer postSort;
|
/**
|
* 状态(0正常 1停用)
|
*/
|
private String status;
|
/**
|
* 创建者
|
*/
|
@TableField("create_by")
|
private String createBy;
|
/**
|
* 创建时间
|
*/
|
@TableField("create_time")
|
private Date createTime;
|
/**
|
* 更新者
|
*/
|
@TableField("update_by")
|
private String updateBy;
|
/**
|
* 更新时间
|
*/
|
@TableField("update_time")
|
private Date updateTime;
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
|
public Long getPostId() {
|
return postId;
|
}
|
|
public void setPostId(Long postId) {
|
this.postId = postId;
|
}
|
|
public String getPostCode() {
|
return postCode;
|
}
|
|
public void setPostCode(String postCode) {
|
this.postCode = postCode;
|
}
|
|
public String getPostName() {
|
return postName;
|
}
|
|
public void setPostName(String postName) {
|
this.postName = postName;
|
}
|
|
public Integer getPostSort() {
|
return postSort;
|
}
|
|
public void setPostSort(Integer postSort) {
|
this.postSort = postSort;
|
}
|
|
public String getStatus() {
|
return status;
|
}
|
|
public void setStatus(String status) {
|
this.status = status;
|
}
|
|
public String getCreateBy() {
|
return createBy;
|
}
|
|
public void setCreateBy(String createBy) {
|
this.createBy = createBy;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getUpdateBy() {
|
return updateBy;
|
}
|
|
public void setUpdateBy(String updateBy) {
|
this.updateBy = updateBy;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
@Override
|
public String toString() {
|
return "SysPost{" +
|
", postId=" + postId +
|
", postCode=" + postCode +
|
", postName=" + postName +
|
", postSort=" + postSort +
|
", status=" + status +
|
", createBy=" + createBy +
|
", createTime=" + createTime +
|
", updateBy=" + updateBy +
|
", updateTime=" + updateTime +
|
", remark=" + remark +
|
"}";
|
}
|
}
|