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 java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 公告列表
 * </p>
 *
 * @author houyong
 * @since 2021-04-02
 */
@Data
@Accessors(chain = true)
public class SysNoticeMessageDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

  /**
   * 标题.
   */
  private String title;

  /**
   * 公告类型：notification-通知，activity-活动.
   */
  private String type;

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

  /**
   * 链接.
   */
  private String link;

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

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

  /**
   * 0.未发布 1.已发布.
   */
  private Boolean announcement;

  /**
   * 发布时间.
   */
  private Timestamp announcementTime;

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

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

}
