puzhibing
2023-05-18 53562814add61acfdc02d6b25dae6324f6fd5f92
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
package com.stylefeng.guns.modular.system.model;
 
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
 
/**
 * <p>
 * 广告
 * </p>
 *
 * @author 吕雪
 * @since 2020-06-02
 */
@TableName("t_advertisement")
public class TAdvertisement extends Model<TAdvertisement> {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 名称
     */
    private String name;
    /**
     * 图片路径
     */
    private String imgUrl;
    /**
     * 类型(1=弹窗,2=首页底部)
     */
    private Integer type;
    /**
     * 是否跳转(1=是,2=否)
     */
    private Integer isJump;
    /**
     * 跳转类型(1=外部,2=内部)
     */
    private Integer jumpType;
    /**
     * 跳转路径
     */
    private String jumpUrl;
    /**
     * 文本编辑器内容
     */
    private String content;
    /**
     * 1:创建,2:修改,3:删除
     */
    private Integer flag;
    private Date insertTime;
    private Integer insertUser;
    private Date updateTime;
    private Integer updateUser;
    /**
     * 状态  1=已上线  2=已下线
     */
    private Integer state;
    /**
     * 所属省Id
     */
    private Integer cityId;
 
    public Integer getCityId() {
        return cityId;
    }
 
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getImgUrl() {
        return imgUrl;
    }
 
    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }
 
    public Integer getType() {
        return type;
    }
 
    public void setType(Integer type) {
        this.type = type;
    }
 
    public Integer getIsJump() {
        return isJump;
    }
 
    public void setIsJump(Integer isJump) {
        this.isJump = isJump;
    }
 
    public Integer getJumpType() {
        return jumpType;
    }
 
    public void setJumpType(Integer jumpType) {
        this.jumpType = jumpType;
    }
 
    public String getJumpUrl() {
        return jumpUrl;
    }
 
    public void setJumpUrl(String jumpUrl) {
        this.jumpUrl = jumpUrl;
    }
 
    public String getContent() {
        return content;
    }
 
    public void setContent(String content) {
        this.content = content;
    }
 
    public Integer getFlag() {
        return flag;
    }
 
    public void setFlag(Integer flag) {
        this.flag = flag;
    }
 
    public Date getInsertTime() {
        return insertTime;
    }
 
    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }
 
    public Integer getInsertUser() {
        return insertUser;
    }
 
    public void setInsertUser(Integer insertUser) {
        this.insertUser = insertUser;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
 
    public Integer getUpdateUser() {
        return updateUser;
    }
 
    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }
 
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
 
    @Override
    public String toString() {
        return "TAdvertisement{" +
        "id=" + id +
        ", name=" + name +
        ", imgUrl=" + imgUrl +
        ", type=" + type +
        ", isJump=" + isJump +
        ", jumpType=" + jumpType +
        ", jumpUrl=" + jumpUrl +
        ", content=" + content +
        ", flag=" + flag +
        ", insertTime=" + insertTime +
        ", insertUser=" + insertUser +
        ", updateTime=" + updateTime +
        ", updateUser=" + updateUser +
        "}";
    }
}