package com.competition.modules.biz.homework.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 CreateSubmissionDto {

    @NotNull(message = "作业ID不能为空")
    @Schema(description = "作业ID")
    private Long homeworkId;

    @NotBlank(message = "作品名称不能为空")
    @Schema(description = "作品名称")
    private String workName;

    @Schema(description = "作品描述")
    private String workDescription;

    @Schema(description = "作品文件")
    private Object files;
}
