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.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

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

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

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

    @ApiModelProperty("项目id")
    private Long projectId;

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

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

    @ApiModelProperty("性别")
    private String gender;

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

    @ApiModelProperty("md5")
    private String md5;
}
