| | |
| | | package com.yeshi.fanli.entity.bus.user;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | /**
|
| | | * 抽奖次数记录
|
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_user_lottery_record")
|
| | | public class UserLotteryRecord {
|
| | | |
| | | // 新人抽奖
|
| | | public static String TYPE_NEWBIES = "newbies";
|
| | | // 天天抽奖-奖励券
|
| | | public static String TYPE_DAILY_REBATE= "dailyRebate";
|
| | | |
| | | // 新人抽奖
|
| | | public static int COUNT_NEWBIES = 5;
|
| | | // 天天抽奖-奖励券
|
| | | public static int COUNT_DAILY_REBATE= 5;
|
| | | |
| | | @Column(name = "ulr_id")
|
| | | private Long id;
|
| | |
|
| | | // 抽奖类型
|
| | | @Column(name = "ulr_type")
|
| | | private String type;
|
| | |
|
| | | // 图片
|
| | | @Column(name = "ulr_uid")
|
| | | private Long uid;
|
| | | |
| | | // 剩余次数
|
| | | @Column(name = "ulr_count")
|
| | | private Integer count;
|
| | | |
| | | // 创建时间
|
| | | @Column(name = "ulr_create_time")
|
| | | private Date createTime;
|
| | |
|
| | | // 更新时间
|
| | | @Column(name = "ulr_update_time")
|
| | | private Date updateTime;
|
| | | |
| | | public UserLotteryRecord(){}
|
| | | |
| | | public UserLotteryRecord(Long id){
|
| | | this.id = id;
|
| | | }
|
| | | |
| | | |
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public String getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(String type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public Long getUid() {
|
| | | return uid;
|
| | | }
|
| | |
|
| | | public void setUid(Long uid) {
|
| | | this.uid = uid;
|
| | | }
|
| | |
|
| | | public Integer getCount() {
|
| | | return count;
|
| | | }
|
| | |
|
| | | public void setCount(Integer count) {
|
| | | this.count = count;
|
| | | }
|
| | |
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | |
|
| | | public Date getUpdateTime() {
|
| | | return updateTime;
|
| | | }
|
| | |
|
| | | public void setUpdateTime(Date updateTime) {
|
| | | this.updateTime = updateTime;
|
| | | }
|
| | |
|
| | | }
|
| | | 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; |
| | | |
| | | /** |
| | | * 抽奖次数记录 |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_user_lottery_record") |
| | | public class UserLotteryRecord { |
| | | |
| | | // 新人抽奖 |
| | | public static String TYPE_NEWBIES = "newbies"; |
| | | // 天天抽奖-奖励券 |
| | | public static String TYPE_DAILY_REBATE= "dailyRebate"; |
| | | |
| | | // 新人抽奖 |
| | | public static int COUNT_NEWBIES = 5; |
| | | // 天天抽奖-奖励券 |
| | | public static int COUNT_DAILY_REBATE= 5; |
| | | |
| | | @Column(name = "ulr_id") |
| | | private Long id; |
| | | |
| | | // 抽奖类型 |
| | | @Column(name = "ulr_type") |
| | | private String type; |
| | | |
| | | // 图片 |
| | | @Column(name = "ulr_uid") |
| | | private Long uid; |
| | | |
| | | // 剩余次数 |
| | | @Column(name = "ulr_count") |
| | | private Integer count; |
| | | |
| | | // 创建时间 |
| | | @Column(name = "ulr_create_time") |
| | | private Date createTime; |
| | | |
| | | // 更新时间 |
| | | @Column(name = "ulr_update_time") |
| | | private Date updateTime; |
| | | |
| | | public UserLotteryRecord(){} |
| | | |
| | | public UserLotteryRecord(Long id){ |
| | | this.id = id; |
| | | } |
| | | |
| | | |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public Long getUid() { |
| | | return uid; |
| | | } |
| | | |
| | | public void setUid(Long uid) { |
| | | this.uid = uid; |
| | | } |
| | | |
| | | public Integer getCount() { |
| | | return count; |
| | | } |
| | | |
| | | public void setCount(Integer count) { |
| | | this.count = count; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Date getUpdateTime() { |
| | | return updateTime; |
| | | } |
| | | |
| | | public void setUpdateTime(Date updateTime) { |
| | | this.updateTime = updateTime; |
| | | } |
| | | |
| | | } |