Message.java 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. package com.cloudcross.ssp.model;
  2. import java.util.Date;
  3. public class Message {
  4. //消息Id
  5. private Long id;
  6. //消息内容
  7. private String content;
  8. //发送时间
  9. private Date sendTime;
  10. //账户id
  11. private Integer accountId;
  12. //是否已读
  13. private Boolean read;
  14. //类型(1-审核,2-提现,3-其他)
  15. private Integer type;
  16. public Integer getType() {
  17. return type;
  18. }
  19. public void setType(Integer type) {
  20. this.type = type;
  21. }
  22. public Long getId() {
  23. return id;
  24. }
  25. public void setId(Long id) {
  26. this.id = id;
  27. }
  28. public String getContent() {
  29. return content;
  30. }
  31. public void setContent(String content) {
  32. this.content = content;
  33. }
  34. public Date getSendTime() {
  35. return sendTime;
  36. }
  37. public void setSendTime(Date sendTime) {
  38. this.sendTime = sendTime;
  39. }
  40. public Integer getAccountId() {
  41. return accountId;
  42. }
  43. public void setAccountId(Integer accountId) {
  44. this.accountId = accountId;
  45. }
  46. public Boolean getRead() {
  47. return read;
  48. }
  49. public void setRead(Boolean read) {
  50. this.read = read;
  51. }
  52. }