yujian
2020-04-02 0ec22dcf4fd9c4496e6f681e7fab89f56c6e4e8a
fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgOtherDetail.java
@@ -6,6 +6,8 @@
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;
@@ -18,17 +20,38 @@
@Table("yeshi_ec_msg_other")
public class MsgOtherDetail {
   public enum MsgTypeOtherTypeEnum {
      couponMianDan("免单券"), couponWelfareMianDan("福利免单券"), couponReward("奖励券"),
      taoLiJin("推广红包");
      private final String desc;
      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 MsgTypeOtherTypeEnum(String desc) {
      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;
      }
   }
@@ -56,8 +79,13 @@
   // 淘礼金参数
   private MsgOtherTaoLiJinContentDTO taoLiJinContent;
   // 赠送信息
   private MsgOtherGiveContentDTO giveContent;
   // 金币兑换信息
   private MsgOtherExchangeContentDTO exchangeContent;
   public MsgOtherCouponContentDTO getCoupnContent() {
      return coupnContent;
   }
@@ -145,4 +173,20 @@
   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;
   }
}