package com.supersavedriving.user.modular.system.model;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* 广告实体类
|
*/
|
@Data
|
@TableName("t_commercial")
|
public class Commercial {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 类型(1=弹窗广告,2=底部广告)
|
*/
|
@TableField("type")
|
private Integer type;
|
/**
|
* 广告名称
|
*/
|
@TableField("name")
|
private String name;
|
/**
|
* 设备(1=小程序,2=司机端)
|
*/
|
@TableField("device")
|
private Integer device;
|
/**
|
* 是否跳转(0=否,1=是)
|
*/
|
@TableField("isJump")
|
private Integer isJump;
|
/**
|
* 跳转类型(1=内部跳转,2=外部跳转)
|
*/
|
@TableField("jumpType")
|
private Integer jumpType;
|
/**
|
* 跳转链接
|
*/
|
@TableField("jumpUrl")
|
private String jumpUrl;
|
/**
|
* 富文本内容
|
*/
|
@TableField("html")
|
private String html;
|
/**
|
* 排序
|
*/
|
@TableField("sort")
|
private Integer sort;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
@TableField("status")
|
private Integer status;
|
/**
|
* 添加人员id
|
*/
|
@TableField("createUserId")
|
private Integer createUserId;
|
/**
|
* 添加时间
|
*/
|
@TableField("createTime")
|
private Date createTime;
|
/**
|
* 修改人员id
|
*/
|
@TableField("updateUserId")
|
private Integer updateUserId;
|
/**
|
* 修改时间
|
*/
|
@TableField("updateTime")
|
private Date updateTime;
|
}
|