yujian
2020-05-23 28cf328a098334b51a3e9d2d56f983fb8c862211
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
package com.yeshi.fanli.entity.bus.tlj;
 
import java.math.BigDecimal;
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
import com.google.gson.annotations.Expose;
 
/**
 *   用户淘礼金明细
 * 
 * @author Administrator
 *
 */
@Table("yeshi_ec_user_taolijin_detail")
public class UserTaoLiJinDetail {
 
    public enum TaoLiJinDetailTypeEnum {
        add("红包增加", "http://img.flqapp.com/img/tlj/icon_tlj.png"), 
        reduce("成功使用扣除", "http://img.flqapp.com/img/tlj/icon_tlj.png"), 
        sendBack("长期未使用收回", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
        refund("未使用成功退回", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
        give("红包赠送", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
        giveBack("赠送退回 ", "http://img.flqapp.com/img/tlj/icon_tlj.png");
        
        private final String desc;
        private final String picture;
 
        private TaoLiJinDetailTypeEnum(String desc, String picture) {
            this.desc = desc;
            this.picture = picture;
        }
 
        public String getDesc() {
            return desc;
        }
 
        public String getPicture() {
            return picture;
        }
    }
    
    @Expose
    @Column(name = "utd_id")
    private Long id; 
 
    @Column(name = "utd_uid")
    private Long uid; // 用户id
 
    @Expose
    @Column(name = "utd_money")
    private BigDecimal money; // 获得金额
 
    @Expose
    @Column(name = "utd_title")
    private String title; // 操作内容
 
    @Expose
    @Column(name = "utd_type")
    private TaoLiJinDetailTypeEnum type; // 
 
    @Expose
    @Column(name = "utd_desc_info")
    private String descInfo; // 详细信息
    
    @Expose
    @Column(name = "utd_remark")
    private String remark; // 备注
 
    @Expose
    @Column(name = "utd_create_time")
    private Date createTime;
 
    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 BigDecimal getMoney() {
        return money;
    }
 
    public void setMoney(BigDecimal money) {
        this.money = money;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public TaoLiJinDetailTypeEnum getType() {
        return type;
    }
 
    public void setType(TaoLiJinDetailTypeEnum type) {
        this.type = type;
    }
 
    public String getDescInfo() {
        return descInfo;
    }
 
    public void setDescInfo(String descInfo) {
        this.descInfo = descInfo;
    }
 
    public String getRemark() {
        return remark;
    }
 
    public void setRemark(String remark) {
        this.remark = remark;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
}