yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
fanli/src/main/java/com/yeshi/fanli/entity/bus/user/UserSystemCoupon.java
@@ -16,16 +16,33 @@
@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_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_CHOUJIANG = "新人抽奖";
   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_EXCHANGE = "金币兑换";
   public final static String SOURCE_GIVE = "好友赠送";
   
   @Expose
   @Column(name = "usc_id")
@@ -53,7 +70,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;
@@ -161,4 +182,12 @@
   public void setStateActivated(Integer stateActivated) {
      this.stateActivated = stateActivated;
   }
   public Boolean getGive() {
      return give;
   }
   public void setGive(Boolean give) {
      this.give = give;
   }
}