package com.red.circle.other.app.dto.clientobject.sys;

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

/**
 * <p>
 * 系统公告通知消息.
 * </p>
 *
 * @author pengliang
 * @since 2021-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class NoticeMessageCO extends ClientObject {

  private static final long serialVersionUID = 1L;

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

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

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

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

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

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

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

}
