Administrator
2018-10-30 7bf6a0582c7c62c90ee2ed8a88654f11d0479092
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
package com.yeshi.fanli.entity.admin;
 
import java.math.BigDecimal;
import java.util.Date;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;
 
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
 
@Entity
@Table(name = "yeshi_ec_everyday_task")
public class EveryDayTask {
    
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "et_id")
    @Expose
    private long id;
    
    @Expose
    @ManyToOne(fetch = FetchType.EAGER)
    @JoinColumn(name = "et_goods_id")
    private TaoBaoGoodsBrief etGoods;
    
    @Column(name="et_createtime")
    private Date etCreateTime;
    
    @Expose
    @Column(name="et_orderby")
    private int etOrderBy;
    
    @Expose
    @Transient
    private String getMoney;
    
    
    @Transient
    private BigDecimal quanhoujia;
    
    @Transient
    @SerializedName("quanhoujia")
    @Expose
    private String quanhoujiaStr;
 
    public String getQuanhoujiaStr() {
        return quanhoujiaStr;
    }
 
    public void setQuanhoujiaStr(String quanhoujiaStr) {
        this.quanhoujiaStr = quanhoujiaStr;
    }
 
    public BigDecimal getQuanhoujia() {
        return quanhoujia;
    }
 
    public void setQuanhoujia(BigDecimal quanhoujia) {
        this.quanhoujia = quanhoujia;
    }
 
    public String getGetMoney() {
        return getMoney;
    }
 
    public void setGetMoney(String getMoney) {
        this.getMoney = getMoney;
    }
 
    public long getId() {
        return id;
    }
 
    public void setId(long id) {
        this.id = id;
    }
 
 
    public TaoBaoGoodsBrief getEtGoods() {
        return etGoods;
    }
 
    public void setEtGoods(TaoBaoGoodsBrief etGoods) {
        this.etGoods = etGoods;
    }
 
    public Date getEtCreateTime() {
        return etCreateTime;
    }
 
    public void setEtCreateTime(Date etCreateTime) {
        this.etCreateTime = etCreateTime;
    }
 
    public int getEtOrderBy() {
        return etOrderBy;
    }
 
    public void setEtOrderBy(int etOrderBy) {
        this.etOrderBy = etOrderBy;
    }
 
}