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

import com.red.circle.framework.core.dto.CommonCommand;
import java.io.Serial;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统公告通知消息.
 * </p>
 *
 * @author houyong
 * @since 2021-04-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysNoticeMessageCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;


  /**
   * 主键标识.
   */
  private Long id;

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

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

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

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

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

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

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

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

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

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

  /**
   * 创建用户
   */
  private Long createUser;

  /**
   * 修改用户
   */
  private Long updateUser;
}
