package com.github.microservice.auth.client.model;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.*;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@Data
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@Schema(name = "userFaceUploadModel", description = "人脸上传模型")
public class UserFaceUploadModel {

    @Schema(description = "用户id")
    @NotNull(message = "userId不能为null")
    private String userId;

    @Schema(description = "人脸图片")
    private MultipartFile file;

//    @Schema(description = "对比人脸照片")
//    @NotNull(message = "compareFace不能为null")
//    private String compareFace;

    @Schema(description = "更新的图片文件id")
    private String updateFaceFileId;
}
