package com.lesingle.modules.biz.contest.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "创建公告DTO")
public class CreateNoticeDto {

    @NotNull(message = "活动ID不能为空")
    @Schema(description = "活动ID")
    private Long contestId;

    @NotBlank(message = "公告标题不能为空")
    @Schema(description = "公告标题")
    private String title;

    @NotBlank(message = "公告内容不能为空")
    @Schema(description = "公告内容")
    private String content;

    @Schema(description = "公告类型")
    private String noticeType;

    @Schema(description = "优先级")
    private Integer priority;

    @Schema(description = "发布时间")
    private String publishTime;
}
