admin
2020-04-13 dd5b15229cb15459fa7c31ccea77dac28cbfafbd
fanli/src/main/java/com/yeshi/fanli/entity/bus/user/UserSystemCoupon.java
@@ -16,18 +16,35 @@
@Table("yeshi_ec_user_system_coupon")
public class UserSystemCoupon {
   // 状态:未使用1、使用中2、已使用3、已过期4
   // 未使用1
   public final static int STATE_CAN_USE = 1;
   // 使用中2
   public final static int STATE_IN_USE = 2;
   // 已使用3
   public final static int STATE_END_USE = 3;
   // 已过期4
   public final static int STATE_OVERDUE = 4;
   // 使用退回 -不入库
   public final static int STATE_BACK = 5;
   // 可使用、可赠送(返回前端字段)
   public final static int STATE_USE_GIVE = 10;
   // 只可赠送(返回前端字段)
   public final static int STATE_GIVE_ONLY = 11;
   // 赠送中(返回前端字段)
   public final static int STATE_GIVE_IN = 12;
   // 赠送成功(返回前端字段)
   public final static int STATE_GIVE_END = 13;
   
   
   // 来源: 新人抽奖、邀请奖励
   public final static String SOURCE_NEWBIES = "新人抽奖";
   public final static String SOURCE_YAOQING = "邀请奖励";
   public final static String SOURCE_SYSTEM_PUSH = "系统赠送";
   public final static String SOURCE_DAILY_REBATE = "奖励券天天抽";
   public final static String SOURCE_DAILY_REBATE = "天天抽";
   public final static String SOURCE_EXCHANGE = "金币兑换";
   public final static String SOURCE_GIVE = "好友赠送";
   
   @Expose
   @Column(name = "usc_id")
@@ -55,7 +72,11 @@
   @Expose
   @Column(name = "usc_state_activate")
   private Integer stateActivated;
   // 是否已赠送
   @Column(name = "usc_give")
   private Boolean give;
   // 起始时间
   @Column(name = "usc_start_time")
   private Date startTime;
@@ -163,4 +184,12 @@
   public void setStateActivated(Integer stateActivated) {
      this.stateActivated = stateActivated;
   }
   public Boolean getGive() {
      return give;
   }
   public void setGive(Boolean give) {
      this.give = give;
   }
}