| | |
| | | @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")
|
| | |
| | | @Expose
|
| | | @Column(name = "usc_state_activate")
|
| | | private Integer stateActivated;
|
| | |
|
| | | |
| | | // 是否已赠送
|
| | | @Column(name = "usc_give")
|
| | | private Boolean give;
|
| | | |
| | | // 起始时间
|
| | | @Column(name = "usc_start_time")
|
| | | private Date startTime;
|
| | |
| | | public void setStateActivated(Integer stateActivated) {
|
| | | this.stateActivated = stateActivated;
|
| | | }
|
| | |
|
| | | public Boolean getGive() {
|
| | | return give;
|
| | | }
|
| | |
|
| | | public void setGive(Boolean give) {
|
| | | this.give = give;
|
| | | }
|
| | | }
|