| | |
| | | package com.yeshi.fanli.entity.bus.user;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | /**
|
| | | * 券赠送记录
|
| | | *
|
| | | */
|
| | | @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
|
| | | @Column(name = "cgr_coupon_id")
|
| | | private Long couponId;
|
| | | // 赠送uid
|
| | | @Column(name = "cgr_give_uid")
|
| | | private Long giveUid;
|
| | | // 赠送时间
|
| | | @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;
|
| | | |
| | | |
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public Long getCouponId() {
|
| | | return couponId;
|
| | | }
|
| | |
|
| | | public void setCouponId(Long couponId) {
|
| | | this.couponId = couponId;
|
| | | }
|
| | |
|
| | | public Long getGiveUid() {
|
| | | return giveUid;
|
| | | }
|
| | |
|
| | | public void setGiveUid(Long giveUid) {
|
| | | this.giveUid = giveUid;
|
| | | }
|
| | |
|
| | | public Long getReceiveUid() {
|
| | | return receiveUid;
|
| | | }
|
| | |
|
| | | public void setReceiveUid(Long receiveUid) {
|
| | | this.receiveUid = receiveUid;
|
| | | }
|
| | |
|
| | | public Date getGiveTime() {
|
| | | return giveTime;
|
| | | }
|
| | |
|
| | | public void setGiveTime(Date giveTime) {
|
| | | this.giveTime = giveTime;
|
| | | }
|
| | |
|
| | | public Date getReceiveTime() {
|
| | | return receiveTime;
|
| | | }
|
| | |
|
| | | 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;
|
| | | }
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.user; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | /** |
| | | * 券赠送记录 |
| | | * |
| | | */ |
| | | @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 |
| | | @Column(name = "cgr_coupon_id") |
| | | private Long couponId; |
| | | // 赠送uid |
| | | @Column(name = "cgr_give_uid") |
| | | private Long giveUid; |
| | | // 赠送时间 |
| | | @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() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getCouponId() { |
| | | return couponId; |
| | | } |
| | | |
| | | public void setCouponId(Long couponId) { |
| | | this.couponId = couponId; |
| | | } |
| | | |
| | | public Long getGiveUid() { |
| | | return giveUid; |
| | | } |
| | | |
| | | public void setGiveUid(Long giveUid) { |
| | | this.giveUid = giveUid; |
| | | } |
| | | |
| | | public Long getReceiveUid() { |
| | | return receiveUid; |
| | | } |
| | | |
| | | public void setReceiveUid(Long receiveUid) { |
| | | this.receiveUid = receiveUid; |
| | | } |
| | | |
| | | public Date getGiveTime() { |
| | | return giveTime; |
| | | } |
| | | |
| | | public void setGiveTime(Date giveTime) { |
| | | this.giveTime = giveTime; |
| | | } |
| | | |
| | | public Date getReceiveTime() { |
| | | return receiveTime; |
| | | } |
| | | |
| | | 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; |
| | | } |
| | | } |