From 88b54772dbcf5ecab1e2316e4e4626ac901b8908 Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期二, 22 一月 2019 15:58:24 +0800 Subject: [PATCH] 邀请码添加返回状态 --- fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgAccountDetail.java | 61 ++++++++++++++++++++++++++++-- 1 files changed, 56 insertions(+), 5 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgAccountDetail.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgAccountDetail.java index 9fc7a72..375f911 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgAccountDetail.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgAccountDetail.java @@ -1,5 +1,10 @@ package com.yeshi.fanli.entity.bus.msg; +import java.util.Date; + +import org.yeshi.utils.mybatis.Column; +import org.yeshi.utils.mybatis.Table; + import com.yeshi.fanli.entity.bus.user.UserInfo; /** @@ -8,12 +13,13 @@ * @author Administrator * */ +@Table("yeshi_ec_msg_account") public class MsgAccountDetail { - public enum MsgTypeAccountEnumType { + public enum MsgTypeAccountTypeEnum { bingding("璐﹀彿缁戝畾"), cancelBinding("鍙栨秷缁戝畾"), bingdingChange("缁戝畾鏇存崲"), update("璐﹀彿淇敼"), level("璐﹀彿绛夌骇"), connect("璐﹀彿鍚堝苟"); private final String desc; - private MsgTypeAccountEnumType(String desc) { + private MsgTypeAccountTypeEnum(String desc) { this.desc = desc; } @@ -22,11 +28,56 @@ } } + @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; + } + + public void setRead(Boolean read) { + this.read = read; + } + + 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 UserInfo getUser() { return user; @@ -52,11 +103,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; } -- Gitblit v1.8.0