97 lines
2.2 KiB
Java
Raw Normal View History

2018-10-07 14:16:47 +08:00
package com.ruoyi.system.domain;
2018-07-09 08:44:52 +08:00
2018-10-03 23:11:09 +08:00
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
2018-10-07 14:16:47 +08:00
import com.ruoyi.common.base.BaseEntity;
2018-07-09 08:44:52 +08:00
/**
2018-10-03 23:11:09 +08:00
* 通知公告表 sys_notice
2018-07-09 08:44:52 +08:00
*
* @author ruoyi
*/
2018-10-07 14:16:47 +08:00
public class SysNotice extends BaseEntity
2018-07-09 08:44:52 +08:00
{
private static final long serialVersionUID = 1L;
/** 公告ID */
2018-07-22 23:05:50 +08:00
private Long noticeId;
2018-10-07 14:16:47 +08:00
2018-07-09 08:44:52 +08:00
/** 公告标题 */
private String noticeTitle;
2018-10-07 14:16:47 +08:00
2018-07-09 08:44:52 +08:00
/** 公告类型1通知 2公告 */
private String noticeType;
2018-10-07 14:16:47 +08:00
2018-07-09 08:44:52 +08:00
/** 公告内容 */
private String noticeContent;
2018-10-07 14:16:47 +08:00
2018-07-09 08:44:52 +08:00
/** 公告状态0正常 1关闭 */
private String status;
2018-07-22 23:05:50 +08:00
public Long getNoticeId()
2018-07-09 08:44:52 +08:00
{
2018-07-22 23:05:50 +08:00
return noticeId;
2018-07-09 08:44:52 +08:00
}
2018-07-22 23:05:50 +08:00
public void setNoticeId(Long noticeId)
2018-07-09 08:44:52 +08:00
{
2018-07-22 23:05:50 +08:00
this.noticeId = noticeId;
2018-07-09 08:44:52 +08:00
}
public void setNoticeTitle(String noticeTitle)
{
this.noticeTitle = noticeTitle;
}
public String getNoticeTitle()
{
return noticeTitle;
}
public void setNoticeType(String noticeType)
{
this.noticeType = noticeType;
}
public String getNoticeType()
{
return noticeType;
}
public void setNoticeContent(String noticeContent)
{
this.noticeContent = noticeContent;
}
public String getNoticeContent()
{
return noticeContent;
}
public void setStatus(String status)
{
this.status = status;
}
public String getStatus()
{
return status;
}
2018-10-03 23:11:09 +08:00
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("noticeId", getNoticeId())
.append("noticeTitle", getNoticeTitle())
.append("noticeType", getNoticeType())
.append("noticeContent", getNoticeContent())
.append("status", getStatus())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
2018-07-09 08:44:52 +08:00
}