SysUserNotice.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. package com.ruoyi.project.system.domain;
  2. import com.ruoyi.framework.aspectj.lang.annotation.Excel;
  3. import com.ruoyi.framework.web.domain.BaseEntity;
  4. import org.apache.commons.lang3.builder.ToStringBuilder;
  5. import org.apache.commons.lang3.builder.ToStringStyle;
  6. import java.util.Date;
  7. /**
  8. * 用户通知关联对象 sys_user_notice
  9. *
  10. * @author ruoyi
  11. * @date 2021-10-15
  12. */
  13. public class SysUserNotice extends BaseEntity
  14. {
  15. private static final long serialVersionUID = 1L;
  16. /** 用户编号 */
  17. @Excel(name = "用户编号")
  18. private Long userId;
  19. /** 公告编号 */
  20. @Excel(name = "公告编号")
  21. private Long noticeId;
  22. /** 创建时间 */
  23. private Date createTime;
  24. public Date getCreateTime() {
  25. return createTime;
  26. }
  27. public void setCreateTime(Date createTime) {
  28. this.createTime = createTime;
  29. }
  30. public void setUserId(Long userId)
  31. {
  32. this.userId = userId;
  33. }
  34. public Long getUserId()
  35. {
  36. return userId;
  37. }
  38. public void setNoticeId(Long noticeId)
  39. {
  40. this.noticeId = noticeId;
  41. }
  42. public Long getNoticeId()
  43. {
  44. return noticeId;
  45. }
  46. @Override
  47. public String toString() {
  48. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  49. .append("userId", getUserId())
  50. .append("noticeId", getNoticeId())
  51. .append("createTime", getCreateTime())
  52. .toString();
  53. }
  54. }