nickchange
2023-12-05 9f66f1772e9a2499c030d89479242457b5f9aafd
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
package com.stylefeng.guns.modular.system.model;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
 
import java.util.Date;
 
/**
 * @author zhibing.pu
 * @Date 2023/11/7 16:37
 */
@Data
@TableName("t_banner")
public class Banner {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 位置(1=首页,2=详情)
     */
    @TableField("position")
    private Integer position;
    /**
     * 图片路径
     */
    @TableField("img_url")
    private String imgUrl;
    /**
     * 富文本内容
     */
    @TableField("content")
    private String content;
    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;
    /**
     * 添加人id
     */
    @TableField("insert_user_id")
    private Integer insertUserId;
    /**
     * 添加时间
     */
    @TableField("insert_time")
    private Date insertTime;
}