| | |
| | | package com.yeshi.fanli.entity.bus.msg;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.UserInfo;
|
| | |
|
| | | /**
|
| | | * 账号
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public class MsgAccountDetail {
|
| | | public enum MsgTypeAccountEnumType {
|
| | | bingding("账号绑定"), cancelBinding("取消绑定"), bingdingChange("绑定更换"), update("账号修改"), level("账号等级"), connect("账号合并");
|
| | | private final String desc;
|
| | |
|
| | | private MsgTypeAccountEnumType(String desc) {
|
| | | this.desc = desc;
|
| | | }
|
| | |
|
| | | public String getDesc() {
|
| | | return desc;
|
| | | }
|
| | | }
|
| | |
|
| | | private UserInfo user;
|
| | | private MsgTypeAccountEnumType type;// 类型
|
| | | private String title;// 事项
|
| | | private String content;// 状态
|
| | | private String beiZhu;// 备注
|
| | | private Boolean read;
|
| | | private Date createTime;
|
| | | private Date updateTime;
|
| | |
|
| | | 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;
|
| | | }
|
| | |
|
| | | public void setUser(UserInfo user) {
|
| | | this.user = user;
|
| | | }
|
| | |
|
| | | public String getTitle() {
|
| | | return title;
|
| | | }
|
| | |
|
| | | public void setTitle(String title) {
|
| | | this.title = title;
|
| | | }
|
| | |
|
| | | public String getContent() {
|
| | | return content;
|
| | | }
|
| | |
|
| | | public void setContent(String content) {
|
| | | this.content = content;
|
| | | }
|
| | |
|
| | | public MsgTypeAccountEnumType getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(MsgTypeAccountEnumType type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public String getBeiZhu() {
|
| | | return beiZhu;
|
| | | }
|
| | |
|
| | | public void setBeiZhu(String beiZhu) {
|
| | | this.beiZhu = beiZhu;
|
| | | }
|
| | | }
|
| | | 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; |
| | | |
| | | import com.yeshi.fanli.entity.bus.user.UserInfo; |
| | | |
| | | /** |
| | | * 账号 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_msg_account") |
| | | public class MsgAccountDetail { |
| | | public enum MsgTypeAccountTypeEnum { |
| | | bingding("账号绑定", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), |
| | | cancelBinding("取消绑定", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), |
| | | bingdingChange("绑定更换", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), |
| | | update("账号修改", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), |
| | | level("账号等级", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), |
| | | connect("账号合并", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), |
| | | taoBaoAuthFail("账号绑定", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), |
| | | changeCode("账号修改", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), |
| | | vipApply("账户升级", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), |
| | | vipPgrade("等级成长","http://img.flqapp.com/resource/msg/icon_msg_level.png"); |
| | | |
| | | private final String desc; |
| | | private final String icon; |
| | | |
| | | private MsgTypeAccountTypeEnum(String desc, String icon) { |
| | | this.desc = desc; |
| | | this.icon = icon; |
| | | } |
| | | |
| | | public String getDesc() { |
| | | return desc; |
| | | } |
| | | |
| | | public String getIcon() { |
| | | return icon; |
| | | } |
| | | } |
| | | |
| | | @Column(name = "ma_id") |
| | | private Long id; |
| | | @Column(name = "ma_uid") |
| | | private UserInfo user; |
| | | @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; |
| | | |
| | | private String extraInfo;// 新版消息内容 |
| | | |
| | | 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; |
| | | } |
| | | |
| | | public void setUser(UserInfo user) { |
| | | this.user = user; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public void setContent(String content) { |
| | | this.content = content; |
| | | } |
| | | |
| | | public MsgTypeAccountTypeEnum getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(MsgTypeAccountTypeEnum type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getBeiZhu() { |
| | | return beiZhu; |
| | | } |
| | | |
| | | public void setBeiZhu(String beiZhu) { |
| | | this.beiZhu = beiZhu; |
| | | } |
| | | |
| | | public String getExtraInfo() { |
| | | return extraInfo; |
| | | } |
| | | |
| | | public void setExtraInfo(String extraInfo) { |
| | | this.extraInfo = extraInfo; |
| | | } |
| | | } |