喻健
2018-11-27 c113fb5b3be1e872b84799c79e76607c40c2c4ba
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
package com.yeshi.fanli.entity.push;
 
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
@Table("yeshi_ec_push_goods")
public class PushGoods {
 
    @Column(name = "pg_id")
    private Long id;
 
    // 显示标题
    @Column(name = "pg_alert_title")
    private String alertTitle;
 
    // 显示内容
    @Column(name = "pg_alert_content")
    private String alertContent;
    
    // 页面标题
    @Column(name = "pg_title")
    private String title;
    
    // 页面内容(html)
    @Column(name = "pg_content")
    private String content;
    
    // 封面图片
    @Column(name = "pg_picture")
    private String picture;
    
    // 推送用户id 使用于单推
    @Column(name = "pg_uid")
    private Long uid;
    
    // 是否已推送
    @Column(name = "pg_is_push")
    private boolean isPush;
    
    // 推送时间
    @Column(name = "pg_push_time")
    private Date pushTime;
    
    @Column(name = "pg_createtime")
    private Date createTime;
    
    @Column(name = "pg_updatetime")
    private Date updateTime;
 
    
    // 统计商品数量
    private Long countGoods; 
    
    
    public PushGoods(){}
    
    public PushGoods(Long id){
        this.id = id;
    }
    
    
    
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getAlertTitle() {
        return alertTitle;
    }
 
    public void setAlertTitle(String alertTitle) {
        this.alertTitle = alertTitle;
    }
 
    public String getAlertContent() {
        return alertContent;
    }
 
    public void setAlertContent(String alertContent) {
        this.alertContent = alertContent;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public String getContent() {
        return content;
    }
 
    public void setContent(String content) {
        this.content = content;
    }
 
    public boolean isPush() {
        return isPush;
    }
 
    public void setPush(boolean isPush) {
        this.isPush = isPush;
    }
 
    public Date getPushTime() {
        return pushTime;
    }
 
    public void setPushTime(Date pushTime) {
        this.pushTime = pushTime;
    }
 
    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 getUid() {
        return uid;
    }
 
    public void setUid(Long uid) {
        this.uid = uid;
    }
 
    public Long getCountGoods() {
        return countGoods;
    }
 
    public void setCountGoods(Long countGoods) {
        this.countGoods = countGoods;
    }
 
    public String getPicture() {
        return picture;
    }
 
    public void setPicture(String picture) {
        this.picture = picture;
    }
    
}