~~~
rk
9 小时以前 b5f8660e06bb79d125019b4883e2b4807f095530
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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;
}