| | |
| | | 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.ThreeSale;
|
| | | import com.yeshi.fanli.entity.bus.user.UserInfo;
|
| | |
|
| | | /***
|
| | | * 邀请消息
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_msg_invite")
|
| | | public class MsgInviteDetail {
|
| | | 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_invite.png"),
|
| | | fansDivorced("脱离提醒","http://img.flqapp.com/resource/msg/icon_msg_invite.png"),
|
| | | inviteSucceed("邀请提醒","http://img.flqapp.com/resource/msg/icon_msg_invite.png");
|
| | | |
| | | private final 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;
|
| | | @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;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public UserInfo getUser() {
|
| | | return user;
|
| | | }
|
| | |
|
| | | public void setUser(UserInfo user) {
|
| | | this.user = user;
|
| | | }
|
| | |
|
| | | public MsgTypeInviteTypeEnum getMsgType() {
|
| | | return msgType;
|
| | | }
|
| | |
|
| | | public void setMsgType(MsgTypeInviteTypeEnum msgType) {
|
| | | this.msgType = msgType;
|
| | | }
|
| | |
|
| | | public ThreeSale getInviteUser() {
|
| | | return inviteUser;
|
| | | }
|
| | |
|
| | | public void setInviteUser(ThreeSale inviteUser) {
|
| | | this.inviteUser = inviteUser;
|
| | | }
|
| | |
|
| | | public String getDesc() {
|
| | | return desc;
|
| | | }
|
| | |
|
| | | public void setDesc(String desc) {
|
| | | this.desc = desc;
|
| | | }
|
| | |
|
| | | public String getBeiZhu() {
|
| | | return beiZhu;
|
| | | }
|
| | |
|
| | | public void setBeiZhu(String beiZhu) {
|
| | | this.beiZhu = beiZhu;
|
| | | }
|
| | |
|
| | | 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 String getExtraInfo() {
|
| | | return extraInfo;
|
| | | }
|
| | |
|
| | | public void setExtraInfo(String extraInfo) {
|
| | | this.extraInfo = extraInfo;
|
| | | }
|
| | |
|
| | | }
|
| | | 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.ThreeSale; |
| | | import com.yeshi.fanli.entity.bus.user.UserInfo; |
| | | |
| | | /*** |
| | | * 邀请消息 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_msg_invite") |
| | | public class MsgInviteDetail { |
| | | 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 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; |
| | | @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; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public UserInfo getUser() { |
| | | return user; |
| | | } |
| | | |
| | | public void setUser(UserInfo user) { |
| | | this.user = user; |
| | | } |
| | | |
| | | public MsgTypeInviteTypeEnum getMsgType() { |
| | | return msgType; |
| | | } |
| | | |
| | | public void setMsgType(MsgTypeInviteTypeEnum msgType) { |
| | | this.msgType = msgType; |
| | | } |
| | | |
| | | public ThreeSale getInviteUser() { |
| | | return inviteUser; |
| | | } |
| | | |
| | | public void setInviteUser(ThreeSale inviteUser) { |
| | | this.inviteUser = inviteUser; |
| | | } |
| | | |
| | | public String getDesc() { |
| | | return desc; |
| | | } |
| | | |
| | | public void setDesc(String desc) { |
| | | this.desc = desc; |
| | | } |
| | | |
| | | public String getBeiZhu() { |
| | | return beiZhu; |
| | | } |
| | | |
| | | public void setBeiZhu(String beiZhu) { |
| | | this.beiZhu = beiZhu; |
| | | } |
| | | |
| | | 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 String getExtraInfo() { |
| | | return extraInfo; |
| | | } |
| | | |
| | | public void setExtraInfo(String extraInfo) { |
| | | this.extraInfo = extraInfo; |
| | | } |
| | | |
| | | } |