package com.lesingle.creation.vo.result;

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 竞赛结果 VO
 */
@Data
@Schema(description = "竞赛结果响应")
public class ResultVO {

    @Schema(description = "结果 ID")
    private Long id;

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

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

    @Schema(description = "作品 ID")
    private Long workId;

    @Schema(description = "作品标题")
    private String workTitle;

    @Schema(description = "报名 ID")
    private Long registrationId;

    @Schema(description = "参赛者姓名")
    private String participantName;

    @Schema(description = "总分")
    private BigDecimal totalScore;

    @Schema(description = "奖项等级")
    private String awardLevel;

    @Schema(description = "获奖描述")
    private String description;

    @Schema(description = "是否获奖")
    private Boolean isWinner;

    @Schema(description = "公示状态：pending/published/withdrawn")
    private String publicState;

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