| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- package com.kym.entity;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.kym.entity.BaseEntity;
- import lombok.Getter;
- import lombok.Setter;
- import lombok.experimental.Accessors;
- import java.time.LocalDateTime;
- /**
- * <p>
- * banner配置表
- * </p>
- *
- * @author skyline
- * @since 2023-10-18
- */
- @Getter
- @Setter
- @TableName("t_banner")
- @Accessors(chain = true)
- public class Banner extends BaseEntity {
- private static final long serialVersionUID = 1L;
- // 状态:0-无效,1-有效
- public static final int STATUS_无效 = 0;
- public static final int STATUS_有效 = 1;
- /**
- * 主活动id
- */
- private Long activityId;
- /**
- * 描述
- */
- private String bannerDesc;
- /**
- * banner图片地址
- */
- private String bannerUrl;
- /**
- * 关联跳转地址
- */
- private String linkUrl;
- /**
- * 开始时间
- */
- @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- private LocalDateTime startTime;
- /**
- * 结束时间
- */
- @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- private LocalDateTime endTime;
- /**
- * 状态:0-无效,1-有效
- */
- private Integer status;
- /**
- * 备注
- */
- private String remark;
- }
|