liujie
2026-06-09 c96fbe6b0aeb413a17c429133ee6d81d138144b9
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
80
81
package com.xiaopeng.api.model.operation;
 
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.fasterxml.jackson.annotation.JsonFormat;
import com.xiaopeng.common.core.web.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.time.LocalDateTime;
 
/**
 * <p>
 * banner管理
 * </p>
 *
 * @author liu
 * @since 2026-02-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("xp_banner")
@ApiModel(value="XpBanner对象", description="banner管理")
public class XpBanner extends BaseModel {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @ApiModelProperty(value = "广告开始时间")
    @TableField("start_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;
 
    @ApiModelProperty(value = "广告结束时间")
    @TableField("end_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;
 
    @ApiModelProperty(value = "状态(0=未开始,1=进行中,2=已结束)")
    @TableField("status")
    private Integer status;
 
    @ApiModelProperty(value = "跳转类型1小程序内页面 2小程序地址 3网页地址")
    @TableField("jump_type")
    private Integer jumpType;
 
    @ApiModelProperty(value = "小程序名称")
    @TableField("applet_name")
    private String appletName;
 
    @ApiModelProperty(value = "小程序id")
    @TableField("applet_id")
    private String appletId;
 
    @ApiModelProperty(value = "跳转URL地址")
    @TableField("jump_url")
    private String jumpUrl;
 
    @ApiModelProperty(value = "广告状态 1上架 2下架")
    @TableField("banner_status")
    private Integer bannerStatus;
    @ApiModelProperty(value = "广告图片")
    @TableField("banner_pictures")
    private String bannerPictures;
 
    @ApiModelProperty(value = "广告标题")
    @TableField("banner_title")
    private String bannerTitle;
 
    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;
 
}