| | |
| | | @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;
|
| | | // 领取成功的券id
|
| | | @Column(name = "cgr_receive_id")
|
| | | private Long receiveId;
|
| | | // 领取时间
|
| | | @Column(name = "cgr_receive_time")
|
| | | private Date receiveTime;
|
| | |
|
| | | // 状态
|
| | | @Column(name = "cgr_state")
|
| | | private Integer state;
|
| | | |
| | | // 券名称
|
| | | private String couponName;
|
| | | // 赠送人
|
| | | private String giveName;
|
| | | // 领取人
|
| | | private String receiveName;
|
| | |
|
| | |
|
| | | 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;
|
| | | }
|
| | |
|
| | | public Long getReceiveId() {
|
| | | return receiveId;
|
| | | }
|
| | |
|
| | | public void setReceiveId(Long receiveId) {
|
| | | this.receiveId = receiveId;
|
| | | }
|
| | |
|
| | | public String getCouponName() {
|
| | | return couponName;
|
| | | }
|
| | |
|
| | | public void setCouponName(String couponName) {
|
| | | this.couponName = couponName;
|
| | | }
|
| | |
|
| | | public String getGiveName() {
|
| | | return giveName;
|
| | | }
|
| | |
|
| | | public void setGiveName(String giveName) {
|
| | | this.giveName = giveName;
|
| | | }
|
| | |
|
| | | public String getReceiveName() {
|
| | | return receiveName;
|
| | | }
|
| | |
|
| | | public void setReceiveName(String receiveName) {
|
| | | this.receiveName = receiveName;
|
| | | }
|
| | | }
|