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

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

/**
 * 团队通知.
 *
 * @author pengshigang on 2022/12/15
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class TeamNoticeCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 团队ID.
   */
  @NotNull
  private Long teamId;

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

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

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

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

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

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

}
