yujian
2019-03-27 cdcbed9af813b2a02cdc01eefa24db8bec6b51a9
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
package com.yeshi.fanli.entity.bus.lable;
 
import java.io.Serializable;
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
import com.yeshi.fanli.entity.common.AdminUser;
 
/**
 * 标签库
 * 
 * @author yj
 *
 * @date 2018年6月27日
 */
@Table("yeshi_ec_label")
public class Label implements Serializable {
 
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    // 后台录入
    public final static int MODE_BACKSTAGE = 1;
    // excel导入
    public final static int MODE_EXCEL = 2;
    // 系统数据抓取
    public final static int MODE_SYSTEM = 3;
 
    
    @Column(name = "lab_id")
    private Long id;
 
    @Column(name = "lab_title")
    private String title;// 名称
 
    @Column(name = "lab_picture")
    private String picture; // 图片url
 
    @Column(name = "lab_ios_click")
    private Long iosClick; // 点击次数
 
    @Column(name = "lab_android_click")
    private Long androidClick; // 点击次数
 
    @Column(name = "lab_entry_aid")
    private AdminUser createUser; // 录入人
 
    @Column(name = "lab_entry_mode")
    private Integer entrymode; // 录入方式 (1 人工录入、2 系统自动录入、3 搜索录入)
 
    @Column(name = "lab_remark")
    private String remark; //  备注
    
    @Column(name = "lab_createtime")
    private Date createtime; // 创建时间
 
    @Column(name = "lab_updatetime")
    private Date updatetime; // 更新时间(修改时间)
 
    
    private Long countRelation; // 统计关联商品数量
    private Long countClick; // 总点击次数
    
    
    public Label(){}
    
    public Label(Long id){
        this.id = id;
    }
    
    
 
    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 String getPicture() {
        return picture;
    }
 
    public void setPicture(String picture) {
        this.picture = picture;
    }
 
    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 AdminUser getCreateUser() {
        return createUser;
    }
 
    public void setCreateUser(AdminUser createUser) {
        this.createUser = createUser;
    }
 
    public Integer getEntrymode() {
        return entrymode;
    }
 
    public void setEntrymode(Integer entrymode) {
        this.entrymode = entrymode;
    }
 
    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 Long getCountRelation() {
        return countRelation;
    }
 
    public void setCountRelation(Long countRelation) {
        this.countRelation = countRelation;
    }
 
    public Long getCountClick() {
        return countClick;
    }
 
    public void setCountClick(Long countClick) {
        this.countClick = countClick;
    }
 
    public String getRemark() {
        return remark;
    }
 
    public void setRemark(String remark) {
        this.remark = remark;
    }
 
}