package com.doumee.dao.business.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 com.doumee.core.annotation.excel.ExcelColumn;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* 轮播图
|
* @author rk
|
* @date 2026/04/08
|
*/
|
@Data
|
@ApiModel("轮播图")
|
@TableName("`banner`")
|
public class Banner {
|
|
@TableId(type = IdType.AUTO)
|
@ApiModelProperty(value = "主键", example = "1")
|
private Integer id;
|
|
@ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "0")
|
private Integer deleted;
|
|
@ApiModelProperty(value = "创建人编码", example = "1")
|
private Integer createUser;
|
|
@ApiModelProperty(value = "创建时间")
|
@ExcelColumn(name = "创建时间", index = 1, width = 16, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
@ApiModelProperty(value = "更新人编码", example = "1")
|
private Integer updateUser;
|
|
@ApiModelProperty(value = "更新时间")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date updateTime;
|
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
|
@ApiModelProperty(value = "标题")
|
private String title;
|
|
@ApiModelProperty(value = "排序号")
|
private Integer sortnum;
|
|
@ApiModelProperty(value = "状态 0正常 1停用", example = "0")
|
@ExcelColumn(name = "状态", index = 2, width = 10, valueMapping = "0=正常;1=停用;")
|
private Integer status;
|
|
@ApiModelProperty(value = "列表图")
|
private String imgurl;
|
|
@ApiModelProperty(value = "跳转类型 0无 1富文本 2外链", example = "0")
|
@ExcelColumn(name = "跳转类型", index = 3, width = 10, valueMapping = "0无 1富文本 2外链")
|
private Integer type;
|
|
@ApiModelProperty(value = "位置 0会员端首页轮播 1司机APP引导页", example = "0")
|
@ExcelColumn(name = "位置", index = 4, width = 10, valueMapping = "位置 0会员端首页轮播 1司机APP引导页")
|
private Integer position;
|
|
@ApiModelProperty(value = "店铺主键")
|
private Integer shopId;
|
|
@ApiModelProperty(value = "内容")
|
private String content;
|
|
@TableField(exist = false)
|
@ApiModelProperty(value = "图片完整路径")
|
private String imgurlFull;
|
}
|