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;
|
|
/**
|
* <p>
|
* 快速入口
|
* </p>
|
*
|
* @author jqs
|
* @since 2023-04-25
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_quick_entry")
|
public class QuickEntry extends Model<QuickEntry> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "entry_id", type = IdType.AUTO)
|
private Long entryId;
|
/**
|
* 删除标记
|
*/
|
@TableField("del_flag")
|
private Integer delFlag;
|
/**
|
* 入口排序
|
*/
|
@TableField("entry_sort")
|
private Integer entrySort;
|
/**
|
* 入口图片地址
|
*/
|
@TableField("entry_url")
|
private String entryUrl;
|
/**
|
* 入口名称
|
*/
|
@TableField("entry_name")
|
private String entryName;
|
/**
|
* 对象类型1.外链2.内链3.无
|
*/
|
@TableField("target_type")
|
private Integer targetType;
|
/**
|
* 链接类型1.手动输入2.选择已有
|
*/
|
@TableField("link_type")
|
private Integer linkType;
|
/**
|
* 链接地址
|
*/
|
@TableField("link_url")
|
private String linkUrl;
|
/**
|
* 跳转活动id
|
*/
|
@TableField("jump_id")
|
private String jumpId;
|
@TableField("create_time")
|
private Date createTime;
|
@TableField("create_user_id")
|
private Long createUserId;
|
|
/**
|
* 跳转类型1.门店详情2.秒杀活动3领券中心4.商城列表5.关于洪瑞堂6.赚取积分7.建议有奖
|
*/
|
@TableField("jump_type")
|
private Integer jumpType;
|
|
@Override
|
protected Serializable pkVal() {
|
return this.entryId;
|
}
|
|
}
|