package com.lesingle.creation.dto.notice;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;

/**
 * 更新公告请求 DTO
 */
@Data
@Schema(description = "更新公告请求")
public class UpdateNoticeDTO {

    @NotBlank(message = "公告标题不能为空")
    @Schema(description = "公告标题", example = "比赛通知")
    private String title;

    @Schema(description = "公告内容")
    private String content;

    @Schema(description = "优先级（数字越大越优先）", example = "0")
    private Integer priority;
}
