package com.stylefeng.guns.modular.system.model; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableName; /** * 通知 */ @TableName("t_notices") public class TNotices extends BaseBean { /** * 标题 */ @TableField("title") private String title; /** * 内容 */ @TableField("content") private String content; /** * 排序 */ @TableField("sort") private Integer sort; /** * 是否显示/发布(1=是,2=否) */ @TableField("isShow") private Integer isShow; /** * 是否播报(1=是,2=否) */ @TableField("isBroadcast") private Integer isBroadcast; /** * 公告类型(1=滚动消息,2=公告) */ @TableField("type") private Integer type; /** * 图片地址 */ @TableField("imgUrl") private String imgUrl; public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } 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 getIsShow() { return isShow; } public void setIsShow(Integer isShow) { this.isShow = isShow; } public Integer getIsBroadcast() { return isBroadcast; } public void setIsBroadcast(Integer isBroadcast) { this.isBroadcast = isBroadcast; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } public String getImgUrl() { return imgUrl; } public void setImgUrl(String imgUrl) { this.imgUrl = imgUrl; } @Override public String toString() { return "TNotice{" + "title='" + title + '\'' + ", content='" + content + '\'' + ", sort=" + sort + ", isShow=" + isShow + ", isBroadcast=" + isBroadcast + ", type=" + type + ", imgUrl='" + imgUrl + '\'' + '}'; } }