From cd4d7c2ff85d68aebec276073020224b5de56415 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 05 十一月 2019 10:29:20 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div --- fanli/src/main/java/com/yeshi/fanli/entity/redpack/RedPackWinInvite.java | 137 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 137 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/redpack/RedPackWinInvite.java b/fanli/src/main/java/com/yeshi/fanli/entity/redpack/RedPackWinInvite.java new file mode 100644 index 0000000..6848540 --- /dev/null +++ b/fanli/src/main/java/com/yeshi/fanli/entity/redpack/RedPackWinInvite.java @@ -0,0 +1,137 @@ +package com.yeshi.fanli.entity.redpack; + +import java.math.BigDecimal; +import java.util.Date; + +import org.yeshi.utils.mybatis.Column; +import org.yeshi.utils.mybatis.Table; + +/** + * 绾㈠寘鑾峰緱璁板綍-閭�璇风浉鍏� + * + * @author Administrator + * + */ +@Table("yeshi_ec_red_pack_win_invite") +public class RedPackWinInvite { + public enum RedPackWinInviteTypeEnum { + newUserReward("棣栨浣跨敤鏉挎牀蹇渷鏂颁汉濂栧姳"), + inviteSucceed("鎴愬姛閭�璇峰ソ鍙嬬珛寰楃幇閲�"), + firstSharedOrder("瀹屾垚鍒嗕韩璁㈠崟閫掑濂栧姳"), + monthSharedOrder("瀹屾垚鍒嗕韩璁㈠崟杩炵画濂栧姳"); + + private final String desc; + + private RedPackWinInviteTypeEnum(String desc) { + this.desc = desc; + } + + public String getDesc() { + return desc; + } + } + + @Column(name = "rwr_id") + private Long id; + // 鐢ㄦ埛id + @Column(name = "rwr_uid") + private Long uid; + + // 闃熷憳id + @Column(name = "rwr_team_uid") + private Long teamUid; + + // 浣欓 + @Column(name = "rwr_money") + private BigDecimal money; + + // 绫诲瀷 + @Column(name = "rwr_type") + private RedPackWinInviteTypeEnum type; + + // 璁㈠崟鏉ユ簮 + @Column(name = "rwr_source") + private Integer source; + + // 璁㈠崟鍙� + @Column(name = "rwr_order_no") + private String orderNo; + + @Column(name = "rwr_create_time") + private Date createTime; + + @Column(name = "rwr_update_time") + private Date updateTime; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getUid() { + return uid; + } + + public void setUid(Long uid) { + this.uid = uid; + } + + public Long getTeamUid() { + return teamUid; + } + + public void setTeamUid(Long teamUid) { + this.teamUid = teamUid; + } + + public BigDecimal getMoney() { + return money; + } + + public void setMoney(BigDecimal money) { + this.money = money; + } + + public RedPackWinInviteTypeEnum getType() { + return type; + } + + public void setType(RedPackWinInviteTypeEnum type) { + this.type = type; + } + + public Integer getSource() { + return source; + } + + public void setSource(Integer source) { + this.source = source; + } + + public String getOrderNo() { + return orderNo; + } + + public void setOrderNo(String orderNo) { + this.orderNo = orderNo; + } + + 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; + } +} -- Gitblit v1.8.0