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 + '\'' +
|
'}';
|
}
|
}
|