yujian
2019-11-04 148af6b2f57be264c84d0991237fbd7ddea491a4
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
package com.yeshi.fanli.entity.shop;
 
import java.util.Date;
import java.util.List;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
/**
 * 板栗商城商品
 * 
 * @author Administrator
 *
 */
@Table("yeshi_ec_shop_goods")
public class BanLiShopGoods {
    public final static int STATE_ONLINE = 1;// 在线
    public final static int STATE_OFFLINE = 0;// 下线
 
    @Column(name = "sg_id")
    private Long id;
    @Column(name = "sg_title")
    private String title;
    @Column(name = "sg_class_id")
    private BanLiShopGoodsClass goodsClass;
    @Column(name = "sg_sales_count")
    private Long salesCount;
    @Column(name = "sg_picture")
    private String picture;// 封面图标
    @Column(name = "sg_desc")
    private String desc;// 简介
    @Column(name = "sg_charge_type")
    private ChargeTypeEnum chargeType;// 充值类型 充值类商品有此属性
    @Column(name = "sg_state")
    private Integer state;// 商品状态 0-下线 1-在线
    @Column(name = "sg_create_time")
    private Date createTime;
    @Column(name = "sg_update_time")
    private Date updateTime;
    @Column(name = "sg_weight")
    private Integer weight;
 
    // 套餐
    private List<BanLiShopGoodsSets> setsList;
    // 图片
    private List<BanLiShopGoodsImg> imgList;
 
    public BanLiShopGoods() {
    }
 
    public BanLiShopGoods(Long id) {
        this.id = id;
    }
 
    public List<BanLiShopGoodsImg> getImgList() {
        return imgList;
    }
 
    public void setImgList(List<BanLiShopGoodsImg> imgList) {
        this.imgList = imgList;
    }
 
    public List<BanLiShopGoodsSets> getSetsList() {
        return setsList;
    }
 
    public void setSetsList(List<BanLiShopGoodsSets> setsList) {
        this.setsList = setsList;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public BanLiShopGoodsClass getGoodsClass() {
        return goodsClass;
    }
 
    public void setGoodsClass(BanLiShopGoodsClass goodsClass) {
        this.goodsClass = goodsClass;
    }
 
    public Long getSalesCount() {
        return salesCount;
    }
 
    public void setSalesCount(Long salesCount) {
        this.salesCount = salesCount;
    }
 
    public String getPicture() {
        return picture;
    }
 
    public void setPicture(String picture) {
        this.picture = picture;
    }
 
    public String getDesc() {
        return desc;
    }
 
    public void setDesc(String desc) {
        this.desc = desc;
    }
 
    public ChargeTypeEnum getChargeType() {
        return chargeType;
    }
 
    public void setChargeType(ChargeTypeEnum chargeType) {
        this.chargeType = chargeType;
    }
 
    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;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public Integer getWeight() {
        return weight;
    }
 
    public void setWeight(Integer weight) {
        this.weight = weight;
    }
}