package com.lesingle.creation.vo.notice;

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

import java.time.LocalDateTime;

/**
 * 公告 VO
 */
@Data
@Schema(description = "公告响应")
public class NoticeVO {

    @Schema(description = "公告 ID")
    private Long id;

    @Schema(description = "活动 ID")
    private Long contestId;

    @Schema(description = "活动名称")
    private String contestName;

    @Schema(description = "公告标题")
    private String title;

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

    @Schema(description = "公告类型：manual/system")
    private String noticeType;

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

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

    @Schema(description = "有效状态：1-有效，2-失效")
    private Integer validState;
}
