package com.red.circle.other.inner.model.dto.sys;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.DTO;
import java.io.Serial;
import java.sql.Timestamp;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * banner配置
 * </p>
 *
 * @author houyong
 * @since 2021-01-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysBannerConfigDTO extends DTO {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 来源系统.
   */
  private String sysOrigin;

  /**
   * 封面.
   */
  private String cover;

  /**
   * 小封面图.
   */
  private String smallCover;

  /**
   * alert封面.
   */
  private String alertCover;

  /**
   * 展示位置.
   */
  private String displayPosition;

  /**
   * 类型.
   */
  private String type;

  /**
   * 内容.
   */
  private String content;

  /**
   * 描述.
   */
  private String depict;

  /**
   * 参数.
   */
  private String params;

  /**
   * 0.下架 1.上架
   */
  private Boolean showcase;

  /**
   * 过期时间.
   */
  private Timestamp expiredTime;

  /**
   * 开始时间.
   */
  private Timestamp startTime;

  /**
   * 排序.
   */
  private Long sort;

  /**
   * 区域.
   */
  private String regions;

  /**
   * 区域.
   */
  private List<String> regionList;

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

  private Long updateUser;
}
