yujian
2019-03-14 4aadf484e193995c23ee1d5bb1971a497d2f9a0d
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
package com.yeshi.fanli.entity.bus.clazz;
 
import java.io.Serializable;
import java.util.List;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
 
import com.yeshi.fanli.entity.system.BusinessSystem;
 
/**
 * 商品分类
 * 
 * @author Administrator
 *
 *
 */
@Entity
@Table(name = "yeshi_ec_class")
public class GoodsClass implements Serializable{
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
 
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id")
    private long id;
    
    @Column(name = "`name`", length = 50)
    private String name;
    
    @Column(name = "`picture`", length = 1024)
    private String picture;
 
    private String url;
    
    @Column(name = "`key`", length = 50)
    private String key;
    
    
    @Column(name = "`search_param`", length = 1024)
    private String searchParam;
 
//    @Column(name = "`tbcates`", length = 1024)
//    private String tbCates;
 
    private int orderby;
    
    private long createtime;
    
    @Column(name = "ios_click")
    private Long iosClick = 0l;
    
    @Column(name = "android_click")
    private Long androidClick = 0l;
    
    @Transient // 点击次数
    private Long countClick = 0l; 
    
    @Transient // 关联标签数量
    private int countlabel = 0; 
    
    @Transient // 系统关联列表
    private  List<BusinessSystem> systemList;
 
 
    public GoodsClass(String name, String picture, int orderby, long createtime) {
        super();
        this.name = name;
        this.picture = picture;
        this.orderby = orderby;
        this.createtime = createtime;
    }
 
    public GoodsClass() {
    }
 
    public GoodsClass(long id) {
        super();
        this.id = id;
    }
 
    public long getId() {
        return id;
    }
 
    public void setId(long id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getKey() {
        return key;
    }
 
    public void setKey(String key) {
        this.key = key;
    }
 
    public String getPicture() {
        return picture;
    }
 
    public void setPicture(String picture) {
        this.picture = picture;
    }
 
    public String getUrl() {
        return url;
    }
 
    public void setUrl(String url) {
        this.url = url;
    }
 
    public int getOrderby() {
        return orderby;
    }
 
    public void setOrderby(int orderby) {
        this.orderby = orderby;
    }
 
    public long getCreatetime() {
        return createtime;
    }
 
    public void setCreatetime(long createtime) {
        this.createtime = createtime;
    }
 
    public Long getIosClick() {
        return iosClick;
    }
 
    public void setIosClick(Long iosClick) {
        this.iosClick = iosClick;
    }
 
    public Long getAndroidClick() {
        return androidClick;
    }
 
    public void setAndroidClick(Long androidClick) {
        this.androidClick = androidClick;
    }
 
    public Long getCountClick() {
        return countClick;
    }
 
    public void setCountClick(Long countClick) {
        this.countClick = countClick;
    }
 
    public List<BusinessSystem> getSystemList() {
        return systemList;
    }
 
    public void setSystemList(List<BusinessSystem> systemList) {
        this.systemList = systemList;
    }
 
    public int getCountlabel() {
        return countlabel;
    }
 
    public void setCountlabel(int countlabel) {
        this.countlabel = countlabel;
    }
 
    public String getSearchParam() {
        return searchParam;
    }
 
    public void setSearchParam(String searchParam) {
        this.searchParam = searchParam;
    }
 
    
}