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 CreateRegistrationDto {

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

    @NotBlank(message = "报名类型不能为空")
    @Schema(description = "报名类型")
    private String registrationType;

    @Schema(description = "团队ID")
    private Long teamId;

    @NotNull(message = "用户ID不能为空")
    @Schema(description = "用户ID")
    private Long userId;
}
