admin
2019-07-30 573c491b4a1ba60e12a5678a01c1546c0077c1ee
fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgOtherDetail.java
@@ -6,6 +6,7 @@
import org.yeshi.utils.mybatis.Table;
import com.yeshi.fanli.dto.msg.MsgOtherCouponContentDTO;
import com.yeshi.fanli.dto.msg.MsgOtherTaoLiJinContentDTO;
import com.yeshi.fanli.entity.bus.user.UserInfo;
/**
@@ -17,7 +18,9 @@
@Table("yeshi_ec_msg_other")
public class MsgOtherDetail {
   public enum MsgTypeOtherTypeEnum {
      couponMianDan("免单券"), couponWelfareMianDan("福利免单券"), couponReward("奖励券");
      couponMianDan("免单券"), couponWelfareMianDan("福利免单券"), couponReward("奖励券"),
      taoLiJin("推广红包");
      private final String desc;
      private MsgTypeOtherTypeEnum(String desc) {
@@ -41,6 +44,8 @@
   private String beiZhu;// 备注
   @Column(name = "mo_read")
   private Boolean read;
   @Column(name = "mo_source_id") // 源主键ID
   private Long sourceId;
   @Column(name = "mo_create_time")
   private Date createTime;
   @Column(name = "mo_update_time")
@@ -49,6 +54,10 @@
   // 券内容
   private MsgOtherCouponContentDTO coupnContent;
   // 淘礼金参数
   private MsgOtherTaoLiJinContentDTO taoLiJinContent;
   public MsgOtherCouponContentDTO getCoupnContent() {
      return coupnContent;
   }
@@ -120,4 +129,20 @@
   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;
   }
}