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.NotNull;

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

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

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

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

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

    @Schema(description = "md5")
    private String md5;
    /**
     * 图片高度,目前只争对 models类型
     */
    private Integer high;
    /**
     * 图片宽度,目前只争对 models类型
     */
    private Integer width;

    private String modelType;

    private String modelSex;

    private String ageGroup;

}
