| | |
| | | package com.ycl.jxkg.domain; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | public class Message implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -3510265139403747341L; |
| | |
| | | */ |
| | | private Integer readCount; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title == null ? null : title.trim(); |
| | | } |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public void setContent(String content) { |
| | | this.content = content == null ? null : content.trim(); |
| | | } |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Integer getSendUserId() { |
| | | return sendUserId; |
| | | } |
| | | |
| | | public void setSendUserId(Integer sendUserId) { |
| | | this.sendUserId = sendUserId; |
| | | } |
| | | |
| | | public String getSendUserName() { |
| | | return sendUserName; |
| | | } |
| | | |
| | | public void setSendUserName(String sendUserName) { |
| | | this.sendUserName = sendUserName == null ? null : sendUserName.trim(); |
| | | } |
| | | |
| | | public String getSendRealName() { |
| | | return sendRealName; |
| | | } |
| | | |
| | | public void setSendRealName(String sendRealName) { |
| | | this.sendRealName = sendRealName == null ? null : sendRealName.trim(); |
| | | } |
| | | |
| | | public Integer getReceiveUserCount() { |
| | | return receiveUserCount; |
| | | } |
| | | |
| | | public void setReceiveUserCount(Integer receiveUserCount) { |
| | | this.receiveUserCount = receiveUserCount; |
| | | } |
| | | |
| | | public Integer getReadCount() { |
| | | return readCount; |
| | | } |
| | | |
| | | public void setReadCount(Integer readCount) { |
| | | this.readCount = readCount; |
| | | } |
| | | } |