package com.example.jz.modle.entity; import java.util.Date; import com.baomidou.mybatisplus.extension.activerecord.Model; import java.io.Serializable; /** * 公共宣传表(Publicity)表实体类 * * @author makejava * @since 2022-07-11 16:35:57 */ @SuppressWarnings("serial") public class Publicity extends Model { //公共宣传id private Integer publicityId; //公共宣传标题 private String publicityTitle; //状态,0为未发布,1为发布,2为下架 private Integer status; //内容 private String text; //创建人 private String creator; //创建时间 private Date createTime; //发布时间 private Date releaseTime; public Integer getPublicityId() { return publicityId; } public void setPublicityId(Integer publicityId) { this.publicityId = publicityId; } public String getPublicityTitle() { return publicityTitle; } public void setPublicityTitle(String publicityTitle) { this.publicityTitle = publicityTitle; } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } public String getText() { return text; } public void setText(String text) { this.text = text; } public String getCreator() { return creator; } public void setCreator(String creator) { this.creator = creator; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getReleaseTime() { return releaseTime; } public void setReleaseTime(Date releaseTime) { this.releaseTime = releaseTime; } /** * 获取主键值 * * @return 主键值 */ @Override protected Serializable pkVal() { return this.publicityId; } }