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 +
|
"}";
|
}
|
}
|