package com.ai.da.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.util.Date;

@Data
@Schema(description = "文件上传")
@AllArgsConstructor
public class CollectionElementUploadDTO {

    @NotNull(message = "file.cannot.be.empty")
    private MultipartFile file;

    @Schema(description = "项目id")
    private Long projectId;

    @Schema(description = "一级类型")
    private String level1Type;

    @Schema(description = "二级类型")
    private String level2Type;

    @Schema(description = "性别")
    private String gender;

    @Schema(description = "时区")
    private String timeZone;

    @Schema(description = "md5")
    private String md5;
}
