puzhibing
2023-05-22 e55987208ea639e33006e78146a47266a4b2ed6d
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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
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 stylefeng
 * @since 2023-03-16
 */
@TableName("t_commercial")
public class TCommercial extends Model<TCommercial> {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 类型(1=弹窗广告,2=底部广告)
     */
    private Integer type;
    /**
     * 名称
     */
    private String name;
    /**
     * 广告地址
     */
    private String url;
    /**
     * 设备(1=小程序,2=司机端)
     */
    private Integer device;
    /**
     * 是否跳转(0=否,1=是)
     */
    private Integer isJump;
    /**
     * 跳转类型(1=内部跳转,2=外部跳转)
     */
    private Integer jumpType;
    /**
     * 跳转连接
     */
    private String jumpUrl;
    /**
     * 富文本
     */
    private String html;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 状态(1=正常,2=冻结,3=删除)
     */
    private Integer status;
    /**
     * 添加时间
     */
    private Date createTime;
    /**
     * 添加人员id
     */
    private Integer createUserId;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 更新人员id
     */
    private Integer updateUserId;
 
 
    /**
     * 上下线 1上线 2下线
     */
    private Integer onOffLine;
 
    public Integer getOnOffLine() {
        return onOffLine;
    }
 
    public void setOnOffLine(Integer onOffLine) {
        this.onOffLine = onOffLine;
    }
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public Integer getType() {
        return type;
    }
 
    public void setType(Integer type) {
        this.type = type;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getUrl() {
        return url;
    }
 
    public void setUrl(String url) {
        this.url = url;
    }
 
    public Integer getDevice() {
        return device;
    }
 
    public void setDevice(Integer device) {
        this.device = device;
    }
 
    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 getHtml() {
        return html;
    }
 
    public void setHtml(String html) {
        this.html = html;
    }
 
    public Integer getSort() {
        return sort;
    }
 
    public void setSort(Integer sort) {
        this.sort = sort;
    }
 
    public Integer getStatus() {
        return status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Integer getCreateUserId() {
        return createUserId;
    }
 
    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
 
    public Integer getUpdateUserId() {
        return updateUserId;
    }
 
    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }
 
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
 
    @Override
    public String toString() {
        return "TCommercial{" +
        "id=" + id +
        ", type=" + type +
        ", name=" + name +
        ", url=" + url +
        ", device=" + device +
        ", isJump=" + isJump +
        ", jumpType=" + jumpType +
        ", jumpUrl=" + jumpUrl +
        ", html=" + html +
        ", sort=" + sort +
        ", status=" + status +
        ", createTime=" + createTime +
        ", createUserId=" + createUserId +
        ", updateTime=" + updateTime +
        ", updateUserId=" + updateUserId +
        "}";
    }
}