MrShi
6 天以前 e685b58fd40cf28a20844643d70cc5f5b46ca037
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
package com.doumee.dao.business.model;
 
import com.baomidou.mybatisplus.annotation.IdType;
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 Integer 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外链", example = "0")
    @ExcelColumn(name = "跳转类型", index = 3, width = 10, valueMapping = "0=富文本;1=外链;")
    private Integer type;
 
    @ApiModelProperty(value = "位置 0首页 1店铺首页", example = "0")
    @ExcelColumn(name = "位置", index = 4, width = 10, valueMapping = "0=首页;1=店铺首页;")
    private Integer position;
 
    @ApiModelProperty(value = "店铺主键")
    private Integer shopId;
 
    @ApiModelProperty(value = "内容")
    private String content;
}