puzhibing
2022-09-12 7da4caa40befd523033b8a1d01246ae468674680
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
package com.stylefeng.guns.modular.system.model;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
 
/**
 * 广告
 */
@TableName("t_advertisement")
public class Advertisement extends BaseBean {
    /**
     * 广告名称
     */
    @TableField("name")
    private String name;
    /**
     * 图片路径
     */
    @TableField("imgUrl")
    private String imgUrl;
    /**
     * 广告类型(1:弹窗,2:首页底部)
     */
    @TableField("type")
    private Integer type;
    /**
     * 城市id
     */
    @TableField("cityId")
    private Integer cityId;
    /**
     * 是否跳转(1:是,2:否)
     */
    @TableField("isJump")
    private Integer isJump;
    /**
     * 跳转类型(1:外部,2:内部)
     */
    @TableField("jumpType")
    private Integer jumpType;
    /**
     * 跳转地址
     */
    @TableField("jumpUrl")
    private String jumpUrl;
    /**
     * 文本内容
     */
    @TableField("content")
    private String content;
    /**
     * 状态(1=已上线,2=已下线)
     * @return
     */
    @TableField("state")
    private Integer state;
    /**
     * 所属省id
     * @return
     */
    @TableField("provinceId")
    private Integer provinceId;
 
    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 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 getProvinceId() {
        return provinceId;
    }
 
    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }
 
    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;
    }
 
    @Override
    public String toString() {
        return "Advertisement{" +
                "name='" + name + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", type=" + type +
                ", isJump=" + isJump +
                ", jumpType=" + jumpType +
                ", jumpUrl='" + jumpUrl + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}