package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 广播
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2023-03-16
|
*/
|
@TableName("t_broadcast")
|
public class TBroadcast extends Model<TBroadcast> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 消息内容
|
*/
|
private String content;
|
/**
|
* 排序
|
*/
|
private Integer sort;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
private Integer status;
|
/**
|
* 添加时间
|
*/
|
private Date createTime;
|
|
/**
|
* 是否显示 1是 0否
|
*/
|
private Boolean show;
|
|
/**
|
* 上下架 1上架 2下架
|
*/
|
private Integer upDown;
|
|
public Boolean getShow() {
|
return show;
|
}
|
|
public void setShow(Boolean show) {
|
this.show = show;
|
}
|
|
|
public Integer getUpDown() {
|
return upDown;
|
}
|
|
public void setUpDown(Integer upDown) {
|
this.upDown = upDown;
|
}
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
public Integer getSort() {
|
return sort;
|
}
|
|
public void setSort(Integer sort) {
|
this.sort = sort;
|
}
|
|
public Integer getStatus() {
|
return status;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TBroadcast{" +
|
"id=" + id +
|
", content=" + content +
|
", sort=" + sort +
|
", status=" + status +
|
", createTime=" + createTime +
|
"}";
|
}
|
}
|