From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgOtherDetail.java | 398 +++++++++++++++++++++++++++++--------------------------- 1 files changed, 206 insertions(+), 192 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgOtherDetail.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgOtherDetail.java index 83a4c1f..8d07396 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgOtherDetail.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgOtherDetail.java @@ -1,192 +1,206 @@ -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.dto.msg.MsgOtherCouponContentDTO; -import com.yeshi.fanli.dto.msg.MsgOtherExchangeContentDTO; -import com.yeshi.fanli.dto.msg.MsgOtherGiveContentDTO; -import com.yeshi.fanli.dto.msg.MsgOtherTaoLiJinContentDTO; -import com.yeshi.fanli.entity.bus.user.UserInfo; - -/** - * 璐﹀彿 - * - * @author Administrator - * - */ -@Table("yeshi_ec_msg_other") -public class MsgOtherDetail { - public enum MsgTypeOtherTypeEnum { - couponMianDan("鍏嶅崟鍒�",""), - couponWelfareMianDan("绂忓埄鍏嶅崟鍒�",""), - freeCouponBuy("鑷喘鍏嶅崟鍒�",""), - freeCouponGive("璧犻�佸厤鍗曞埜",""), - couponReward("濂栧姳鍒�",""), - taoLiJin("鎺ㄥ箍绾㈠寘",""), - taoLiJinExchange("鎺ㄥ箍绾㈠寘鍏戞崲閲戝竵",""), - give("璧犻��",""), - exchange("閲戝竵鍏戞崲",""), - couponActivate("鍏嶅崟鍒告縺娲�",""), - firstOrderReward("绮変笣棣栧崟濂栧姳閭�璇蜂汉閲戝竵",""), - systemGive("绯荤粺璧犻��",""), - passVIPApply("瓒呯骇浼氬憳",""), - rejectVIPApply("瓒呯骇浼氬憳",""), - teamVIPCallBoss ("娓╅Θ鎻愰啋",""), - teamSplitCallBoss ("閭�璇疯劚绂�",""), - vipUpgradeReward("绯荤粺璧犻��","http://img.flqapp.com/resource/msg/icon_msg_vip.png"); - - private final String desc; - private final String icon; - - private MsgTypeOtherTypeEnum(String desc, String icon) { - this.desc = desc; - this.icon = icon; - } - - public String getDesc() { - return desc; - } - - public String getIcon() { - return icon; - } - } - - @Column(name = "mo_id") - private Long id; - @Column(name = "mo_uid") - private UserInfo user; - @Column(name = "mo_type") - private MsgTypeOtherTypeEnum type;// 绫诲瀷 - @Column(name = "mo_content") - private String content;// 鐘舵�� - @Column(name = "mo_beizhu") - private String beiZhu;// 澶囨敞 - @Column(name = "mo_read") - private Boolean read; - @Column(name = "mo_source_id") // 婧愪富閿甀D - private Long sourceId; - @Column(name = "mo_create_time") - private Date createTime; - @Column(name = "mo_update_time") - private Date updateTime; - - // 鍒稿唴瀹� - private MsgOtherCouponContentDTO coupnContent; - - // 娣樼ぜ閲戝弬鏁� - private MsgOtherTaoLiJinContentDTO taoLiJinContent; - - // 璧犻�佷俊鎭� - private MsgOtherGiveContentDTO giveContent; - - // 閲戝竵鍏戞崲淇℃伅 - private MsgOtherExchangeContentDTO exchangeContent; - - public MsgOtherCouponContentDTO getCoupnContent() { - return coupnContent; - } - - public void setCoupnContent(MsgOtherCouponContentDTO coupnContent) { - this.coupnContent = coupnContent; - } - - 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 getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public MsgTypeOtherTypeEnum getType() { - return type; - } - - public void setType(MsgTypeOtherTypeEnum type) { - this.type = type; - } - - public String getBeiZhu() { - return beiZhu; - } - - public void setBeiZhu(String beiZhu) { - this.beiZhu = beiZhu; - } - - public Long getSourceId() { - return sourceId; - } - - public void setSourceId(Long sourceId) { - this.sourceId = sourceId; - } - - public MsgOtherTaoLiJinContentDTO getTaoLiJinContent() { - return taoLiJinContent; - } - - public void setTaoLiJinContent(MsgOtherTaoLiJinContentDTO taoLiJinContent) { - this.taoLiJinContent = taoLiJinContent; - } - - public MsgOtherGiveContentDTO getGiveContent() { - return giveContent; - } - - public void setGiveContent(MsgOtherGiveContentDTO giveContent) { - this.giveContent = giveContent; - } - - public MsgOtherExchangeContentDTO getExchangeContent() { - return exchangeContent; - } - - public void setExchangeContent(MsgOtherExchangeContentDTO exchangeContent) { - this.exchangeContent = exchangeContent; - } -} +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.dto.msg.MsgOtherCouponContentDTO; +import com.yeshi.fanli.dto.msg.MsgOtherExchangeContentDTO; +import com.yeshi.fanli.dto.msg.MsgOtherGiveContentDTO; +import com.yeshi.fanli.dto.msg.MsgOtherTaoLiJinContentDTO; +import com.yeshi.fanli.entity.bus.user.UserInfo; + +/** + * 璐﹀彿 + * + * @author Administrator + * + */ +@Table("yeshi_ec_msg_other") +public class MsgOtherDetail { + public enum MsgTypeOtherTypeEnum { + couponMianDan("鍏嶅崟鍒�","http://img.flqapp.com/resource/msg/icon_msg_other_coupon.png"), + couponWelfareMianDan("绂忓埄鍏嶅崟鍒�","http://img.flqapp.com/resource/msg/icon_msg_other_coupon.png"), + freeCouponBuy("鑷喘鍏嶅崟鍒�","http://img.flqapp.com/resource/msg/icon_msg_other_coupon.png"), + freeCouponGive("璧犻�佸厤鍗曞埜","http://img.flqapp.com/resource/msg/icon_msg_other_coupon.png"), + couponReward("濂栧姳鍒�","http://img.flqapp.com/resource/msg/icon_msg_other_coupon.png"), + couponActivate("鍏嶅崟鍒告縺娲�","http://img.flqapp.com/resource/msg/icon_msg_other_coupon.png"), + taoLiJin("鎺ㄥ箍绾㈠寘","http://img.flqapp.com/resource/msg/icon_msg_other_tlj.png"), + taoLiJinExchange("鎺ㄥ箍绾㈠寘鍏戞崲閲戝竵","http://img.flqapp.com/resource/msg/icon_msg_other_system_give.png"), + give("璧犻��","http://img.flqapp.com/resource/msg/icon_msg_other_integral.png"), + exchange("閲戝竵鍏戞崲","http://img.flqapp.com/resource/msg/icon_msg_other_integral.png"), + goldCoin("閲戝竵","http://img.flqapp.com/resource/msg/icon_msg_other_integral.png"), + firstOrderReward("绮変笣棣栧崟濂栧姳閭�璇蜂汉閲戝竵","http://img.flqapp.com/resource/msg/icon_msg_other_integral.png"), + systemGive("绯荤粺璧犻��","http://img.flqapp.com/resource/msg/icon_msg_other_system_give.png"), + passVIPApply("瓒呯骇浼氬憳","http://img.flqapp.com/resource/msg/icon_msg_vip.png"), + rejectVIPApply("瓒呯骇浼氬憳","http://img.flqapp.com/resource/msg/icon_msg_vip.png"), + teamVIPCallBoss ("娓╅Θ鎻愰啋","http://img.flqapp.com/resource/msg/icon_msg_notify.png"), + teamSplitCallBoss ("閭�璇疯劚绂�","http://img.flqapp.com/resource/msg/icon_msg_invite_break.png"), + cloudWX("浜戝彂鍗�","http://img.flqapp.com/resource/msg/icon_msg_other_cloud.png"), + vipUpgradeReward("绯荤粺璧犻��","http://img.flqapp.com/resource/msg/icon_msg_vip.png"); + + private final String desc; + private final String icon; + + private MsgTypeOtherTypeEnum(String desc, String icon) { + this.desc = desc; + this.icon = icon; + } + + public String getDesc() { + return desc; + } + + public String getIcon() { + return icon; + } + } + + @Column(name = "mo_id") + private Long id; + @Column(name = "mo_uid") + private UserInfo user; + @Column(name = "mo_type") + private MsgTypeOtherTypeEnum type;// 绫诲瀷 + @Column(name = "mo_content") + private String content;// 鐘舵�� + @Column(name = "mo_beizhu") + private String beiZhu;// 澶囨敞 + @Column(name = "mo_read") + private Boolean read; + @Column(name = "mo_source_id") // 婧愪富閿甀D + private Long sourceId; + @Column(name = "mo_create_time") + private Date createTime; + @Column(name = "mo_update_time") + private Date updateTime; + + private String extraInfo; + + + + // 鍒稿唴瀹� + private MsgOtherCouponContentDTO coupnContent; + + // 娣樼ぜ閲戝弬鏁� + private MsgOtherTaoLiJinContentDTO taoLiJinContent; + + // 璧犻�佷俊鎭� + private MsgOtherGiveContentDTO giveContent; + + // 閲戝竵鍏戞崲淇℃伅 + private MsgOtherExchangeContentDTO exchangeContent; + + public MsgOtherCouponContentDTO getCoupnContent() { + return coupnContent; + } + + public void setCoupnContent(MsgOtherCouponContentDTO coupnContent) { + this.coupnContent = coupnContent; + } + + 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 getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public MsgTypeOtherTypeEnum getType() { + return type; + } + + public void setType(MsgTypeOtherTypeEnum type) { + this.type = type; + } + + public String getBeiZhu() { + return beiZhu; + } + + public void setBeiZhu(String beiZhu) { + this.beiZhu = beiZhu; + } + + public Long getSourceId() { + return sourceId; + } + + public void setSourceId(Long sourceId) { + this.sourceId = sourceId; + } + + public MsgOtherTaoLiJinContentDTO getTaoLiJinContent() { + return taoLiJinContent; + } + + public void setTaoLiJinContent(MsgOtherTaoLiJinContentDTO taoLiJinContent) { + this.taoLiJinContent = taoLiJinContent; + } + + public MsgOtherGiveContentDTO getGiveContent() { + return giveContent; + } + + public void setGiveContent(MsgOtherGiveContentDTO giveContent) { + this.giveContent = giveContent; + } + + public MsgOtherExchangeContentDTO getExchangeContent() { + return exchangeContent; + } + + public void setExchangeContent(MsgOtherExchangeContentDTO exchangeContent) { + this.exchangeContent = exchangeContent; + } + + public String getExtraInfo() { + return extraInfo; + } + + public void setExtraInfo(String extraInfo) { + this.extraInfo = extraInfo; + } +} -- Gitblit v1.8.0