yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgAccountDetail.java
@@ -2,6 +2,9 @@
import java.util.Date;
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
import com.yeshi.fanli.entity.bus.user.UserInfo;
/**
@@ -10,12 +13,19 @@
 * @author Administrator
 *
 */
@Table("yeshi_ec_msg_account")
public class MsgAccountDetail {
   public enum MsgTypeAccountEnumType {
      bingding("账号绑定"), cancelBinding("取消绑定"), bingdingChange("绑定更换"), update("账号修改"), level("账号等级"), connect("账号合并");
   public enum MsgTypeAccountTypeEnum {
      bingding("账号绑定"),
      cancelBinding("取消绑定"),
      bingdingChange("绑定更换"),
      update("账号修改"),
      level("账号等级"),
      connect("账号合并"),
      taoBaoAuthFail("账号绑定");
      private final String desc;
      private MsgTypeAccountEnumType(String desc) {
      private MsgTypeAccountTypeEnum(String desc) {
         this.desc = desc;
      }
@@ -24,14 +34,32 @@
      }
   }
   @Column(name = "ma_id")
   private Long id;
   @Column(name = "ma_uid")
   private UserInfo user;
   private MsgTypeAccountEnumType type;// 类型
   @Column(name = "ma_type")
   private MsgTypeAccountTypeEnum type;// 类型
   @Column(name = "ma_title")
   private String title;// 事项
   @Column(name = "ma_content")
   private String content;// 状态
   @Column(name = "ma_beizhu")
   private String beiZhu;// 备注
   @Column(name = "ma_read")
   private Boolean read;
   @Column(name = "ma_create_time")
   private Date createTime;
   @Column(name = "ma_update_time")
   private Date updateTime;
   public Long getId() {
      return id;
   }
   public void setId(Long id) {
      this.id = id;
   }
   public Boolean getRead() {
      return read;
@@ -81,11 +109,11 @@
      this.content = content;
   }
   public MsgTypeAccountEnumType getType() {
   public MsgTypeAccountTypeEnum getType() {
      return type;
   }
   public void setType(MsgTypeAccountEnumType type) {
   public void setType(MsgTypeAccountTypeEnum type) {
      this.type = type;
   }