| | |
| | | @Table("yeshi_ec_user_system_coupon_give_record")
|
| | | public class UserSystemCouponGiveRecord {
|
| | |
|
| | | // 未领取
|
| | | public final static int STATE_INIT = 0;
|
| | | // 已领取
|
| | | public final static int STATE_RECEIVE =1;
|
| | | // 已过期 退回
|
| | | public final static int STATE_OVERDUE = 2;
|
| | | |
| | | @Column(name = "cgr_id")
|
| | | private Long id;
|
| | | // 券id
|
| | |
| | | // 赠送uid
|
| | | @Column(name = "cgr_give_uid")
|
| | | private Long giveUid;
|
| | | // 领取uid
|
| | | @Column(name = "cgr_receive_uid")
|
| | | private Long receiveUid;
|
| | | // 赠送时间
|
| | | @Column(name = "cgr_give_time")
|
| | | private Date giveTime;
|
| | | // 赠送结束时间
|
| | | @Column(name = "cgr_end_time")
|
| | | private Date endTime;
|
| | | // 领取uid
|
| | | @Column(name = "cgr_receive_uid")
|
| | | private Long receiveUid;
|
| | | // 领取时间
|
| | | @Column(name = "cgr_receive_time")
|
| | | private Date receiveTime;
|
| | |
|
| | | // 状态
|
| | | @Column(name = "cgr_state")
|
| | | private Integer state;
|
| | |
|
| | |
|
| | | public Long getId() {
|
| | |
| | | public void setReceiveTime(Date receiveTime) {
|
| | | this.receiveTime = receiveTime;
|
| | | }
|
| | | |
| | |
|
| | | public Date getEndTime() {
|
| | | return endTime;
|
| | | }
|
| | |
|
| | | public void setEndTime(Date endTime) {
|
| | | this.endTime = endTime;
|
| | | }
|
| | |
|
| | | public Integer getState() {
|
| | | return state;
|
| | | }
|
| | |
|
| | | public void setState(Integer state) {
|
| | | this.state = state;
|
| | | }
|
| | | }
|