admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgDeviceReadState.java
@@ -1,96 +1,117 @@
package com.yeshi.fanli.entity.bus.msg;
import java.util.Date;
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
/*
 *设备消息状态存储
 */
@Table("yeshi_ec_msg_device_read_state")
public class MsgDeviceReadState {
   public static String TYPE_ZHUSHOU = "zhushou";// 返利券小助手
   public static String TYPE_RECOMMEND = "recommend";// 推荐
   @Column(name = "mdrs_id")
   private Long id;
   @Column(name = "mdrs_device")
   private String device;
   @Column(name = "mdrs_platform")
   private Integer platform;
   @Column(name = "mdrs_type")
   private String type;
   @Column(name = "mdrs_read_time")
   private Date readTime;
   @Column(name = "mdrs_unread_count")
   private Integer unReadCount;
   @Column(name = "mdrs_createtime")
   private Date createTime;
   @Column(name = "mdrs_update_time")
   private Date updateTime;
   public Long getId() {
      return id;
   }
   public void setId(Long id) {
      this.id = id;
   }
   public String getDevice() {
      return device;
   }
   public void setDevice(String device) {
      this.device = device;
   }
   public Integer getPlatform() {
      return platform;
   }
   public void setPlatform(Integer platform) {
      this.platform = platform;
   }
   public String getType() {
      return type;
   }
   public void setType(String type) {
      this.type = type;
   }
   public Date getReadTime() {
      return readTime;
   }
   public void setReadTime(Date readTime) {
      this.readTime = readTime;
   }
   public Integer getUnReadCount() {
      return unReadCount;
   }
   public void setUnReadCount(Integer unReadCount) {
      this.unReadCount = unReadCount;
   }
   public Date getCreateTime() {
      return createTime;
   }
   public void setCreateTime(Date createTime) {
      this.createTime = createTime;
   }
   public Date getUpdateTime() {
      return updateTime;
   }
   public void setUpdateTime(Date updateTime) {
      this.updateTime = updateTime;
   }
}
package com.yeshi.fanli.entity.bus.msg;
import java.util.Date;
import org.yeshi.utils.generater.mybatis.Column;
import org.yeshi.utils.generater.mybatis.Table;
/*
 *设备消息状态存储
 */
@Table("yeshi_ec_msg_device_read_state")
public class MsgDeviceReadState {
   public static String TYPE_ZHUSHOU = "zhushou";// 板栗快省小助手
   public static String TYPE_RECOMMEND = "recommend";// 推荐
   public static String TYPE_KEFU = "kefu";
   @Column(name = "mdrs_id")
   private Long id;
   @Column(name = "mdrs_device")
   private String device;
   @Column(name = "mdrs_platform")
   private Integer platform;
   @Column(name = "mdrs_type")
   private String type;
   @Column(name = "mdrs_read_time")
   private Date readTime;
   @Column(name = "mdrs_unread_count")
   private Integer unReadCount;
   @Column(name = "mdrs_latest_content")
   private String latestContent;// 最近的未读消息
   @Column(name = "mdrs_latest_content_time")
   private Date latestContentTime;// 最近的未读消息
   @Column(name = "mdrs_createtime")
   private Date createTime;
   @Column(name = "mdrs_update_time")
   private Date updateTime;
   public Long getId() {
      return id;
   }
   public void setId(Long id) {
      this.id = id;
   }
   public String getDevice() {
      return device;
   }
   public void setDevice(String device) {
      this.device = device;
   }
   public Integer getPlatform() {
      return platform;
   }
   public void setPlatform(Integer platform) {
      this.platform = platform;
   }
   public String getType() {
      return type;
   }
   public void setType(String type) {
      this.type = type;
   }
   public Date getReadTime() {
      return readTime;
   }
   public void setReadTime(Date readTime) {
      this.readTime = readTime;
   }
   public Integer getUnReadCount() {
      return unReadCount;
   }
   public void setUnReadCount(Integer unReadCount) {
      this.unReadCount = unReadCount;
   }
   public Date getCreateTime() {
      return createTime;
   }
   public void setCreateTime(Date createTime) {
      this.createTime = createTime;
   }
   public Date getUpdateTime() {
      return updateTime;
   }
   public void setUpdateTime(Date updateTime) {
      this.updateTime = updateTime;
   }
   public String getLatestContent() {
      return latestContent;
   }
   public void setLatestContent(String latestContent) {
      this.latestContent = latestContent;
   }
   public Date getLatestContentTime() {
      return latestContentTime;
   }
   public void setLatestContentTime(Date latestContentTime) {
      this.latestContentTime = latestContentTime;
   }
}