package com.ruoyi.system.domain.pojo.config;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* @description: banner
|
* @author jqs
|
* @date 2023/6/7 9:29
|
* @version 1.0
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_banner")
|
public class Banner extends Model<Banner> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* banner id
|
*/
|
@TableId(value = "banner_id", type = IdType.AUTO)
|
private Long bannerId;
|
/**
|
* 删除标记
|
*/
|
@TableField("del_flag")
|
private Integer delFlag;
|
/**
|
* banner位置1.小程序首页
|
*/
|
@TableField("banner_position")
|
private Integer bannerPosition;
|
/**
|
* banner图片地址
|
*/
|
@TableField("banner_url")
|
private String bannerUrl;
|
/**
|
* banner排序
|
*/
|
@TableField("banner_sort")
|
private Integer bannerSort;
|
/**
|
* 链接类型1.外部2.内部3.无
|
*/
|
@TableField("target_type")
|
private Integer targetType;
|
/**
|
* 链接类型1.手动输入2.选择已有
|
*/
|
@TableField("link_type")
|
private Integer linkType;
|
/**
|
* 链接地址
|
*/
|
@TableField("link_url")
|
private String linkUrl;
|
/**
|
* 跳转类型1.门店详情2.秒杀活动3领券中心4.商城列表5.关于洪瑞堂6.赚取积分7.建议有奖
|
*/
|
@TableField("jump_type")
|
private Integer jumpType;
|
/**
|
* 跳转id
|
*/
|
@TableField("jump_id")
|
private String jumpId;
|
/**
|
* 创建时间
|
*/
|
@TableField("create_time")
|
private Date createTime;
|
/**
|
* 创建用户id
|
*/
|
@TableField("create_user_id")
|
private Long createUserId;
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.bannerId;
|
}
|
|
}
|