package com.ai.da.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("Library文件上传")
@AllArgsConstructor
public class LibraryUploadDTO {

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

    @ApiModelProperty("一级类型")
    private String level1Type;

    @ApiModelProperty("二级类型")
    private String level2Type;

    @ApiModelProperty("时区")
    private String timeZone;

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

    private String modelType;

    private String modelSex;

    private String ageGroup;

}
