From dc5be7d38446f70e6ff86df311119c32b41fe7f8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 28 十一月 2020 16:37:05 +0800 Subject: [PATCH] 大淘客搜索接口升级 --- fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgInviteDetail.java | 51 ++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 44 insertions(+), 7 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgInviteDetail.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgInviteDetail.java index 13c7260..34ea972 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgInviteDetail.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgInviteDetail.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.ThreeSale; import com.yeshi.fanli.entity.bus.user.UserInfo; @@ -11,29 +14,55 @@ * @author Administrator * */ +@Table("yeshi_ec_msg_invite") public class MsgInviteDetail { - public enum MsgTypeInviteEnumType { - invite("閭�璇锋秷鎭�"); + public enum MsgTypeInviteTypeEnum { + invite("閭�璇锋秷鎭�","http://img.flqapp.com/resource/msg/icon_msg_invite.png"), + exchangeCode("鎭枩浣狅紝閭�璇风爜鍏戞崲鎴愬姛","http://img.flqapp.com/resource/msg/icon_msg_invite.png"), + receiveGift("棰嗗彇绀煎搧","http://img.flqapp.com/resource/msg/icon_msg_invite.png"), + fansUpgrade("绮変笣鍗囩骇","http://img.flqapp.com/resource/msg/icon_msg_team_level.png"), + fansDivorced("鑴辩鎻愰啋","http://img.flqapp.com/resource/msg/icon_msg_team_separate.png"), + inviteSucceed("閭�璇锋彁閱�","http://img.flqapp.com/resource/msg/icon_msg_invite.png"), + pullNewRedPack("閭�璇锋彁閱�","http://img.flqapp.com/resource/msg/icon_msg_invite.png"); + + private final String desc; - - private MsgTypeInviteEnumType(String desc) { + private final String icon; + + private MsgTypeInviteTypeEnum(String desc, String icon) { this.desc = desc; + this.icon = icon; } public String getDesc() { return desc; } + + public String getIcon() { + return icon; + } } + @Column(name = "mi_id") private Long id; + @Column(name = "mi_uid") private UserInfo user; - private MsgTypeInviteEnumType msgType;// 娑堟伅绫诲瀷 + @Column(name = "mi_type") + private MsgTypeInviteTypeEnum msgType;// 娑堟伅绫诲瀷 + @Column(name = "mi_invite_id") private ThreeSale inviteUser;// 閭�璇蜂俊鎭� + @Column(name = "mi_desc") private String desc;// 璇存槑 + @Column(name = "mi_beizhu") private String beiZhu;// 澶囨敞 + @Column(name = "mi_read") private Boolean read;// 鏄惁宸茶 + @Column(name = "mi_create_time") private Date createTime; + @Column(name = "mi_update_time") private Date updateTime; + + private String extraInfo;// 鏂扮増娑堟伅鍐呭 public Long getId() { return id; @@ -51,11 +80,11 @@ this.user = user; } - public MsgTypeInviteEnumType getMsgType() { + public MsgTypeInviteTypeEnum getMsgType() { return msgType; } - public void setMsgType(MsgTypeInviteEnumType msgType) { + public void setMsgType(MsgTypeInviteTypeEnum msgType) { this.msgType = msgType; } @@ -107,4 +136,12 @@ this.updateTime = updateTime; } + public String getExtraInfo() { + return extraInfo; + } + + public void setExtraInfo(String extraInfo) { + this.extraInfo = extraInfo; + } + } -- Gitblit v1.8.0