SysNotice.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. package com.ruoyi.system.domain;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. import org.apache.commons.lang3.builder.ToStringStyle;
  4. import com.ruoyi.common.core.domain.BaseEntity;
  5. /**
  6. * 通知公告表 sys_notice
  7. *
  8. * @author ruoyi
  9. */
  10. public class SysNotice extends BaseEntity
  11. {
  12. private static final long serialVersionUID = 1L;
  13. /** 公告ID */
  14. private Long noticeId;
  15. /** 公告标题 */
  16. private String noticeTitle;
  17. /** 公告类型(1通知 2公告) */
  18. private String noticeType;
  19. /** 公告内容 */
  20. private String noticeContent;
  21. /** 公告状态(0正常 1关闭) */
  22. private String status;
  23. public Long getNoticeId()
  24. {
  25. return noticeId;
  26. }
  27. public void setNoticeId(Long noticeId)
  28. {
  29. this.noticeId = noticeId;
  30. }
  31. public void setNoticeTitle(String noticeTitle)
  32. {
  33. this.noticeTitle = noticeTitle;
  34. }
  35. public String getNoticeTitle()
  36. {
  37. return noticeTitle;
  38. }
  39. public void setNoticeType(String noticeType)
  40. {
  41. this.noticeType = noticeType;
  42. }
  43. public String getNoticeType()
  44. {
  45. return noticeType;
  46. }
  47. public void setNoticeContent(String noticeContent)
  48. {
  49. this.noticeContent = noticeContent;
  50. }
  51. public String getNoticeContent()
  52. {
  53. return noticeContent;
  54. }
  55. public void setStatus(String status)
  56. {
  57. this.status = status;
  58. }
  59. public String getStatus()
  60. {
  61. return status;
  62. }
  63. @Override
  64. public String toString() {
  65. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  66. .append("noticeId", getNoticeId())
  67. .append("noticeTitle", getNoticeTitle())
  68. .append("noticeType", getNoticeType())
  69. .append("noticeContent", getNoticeContent())
  70. .append("status", getStatus())
  71. .append("createBy", getCreateBy())
  72. .append("createTime", getCreateTime())
  73. .append("updateBy", getUpdateBy())
  74. .append("updateTime", getUpdateTime())
  75. .append("remark", getRemark())
  76. .toString();
  77. }
  78. }