package com.ycwl.basic.model.mobile.face;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 人脸识别详情，包含系统采纳及被过滤的样本。
 */
@Data
public class FaceRecognitionDetailVO {
    private Long faceId;
    private Long memberId;
    private Long scenicId;
    private String faceUrl;

    private Float score;
    private Float firstMatchRate;
    private Boolean lowThreshold;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastMatchedAt;

    /**
     * 系统采纳的样本信息。
     */
    private List<FaceRecognitionSampleVO> acceptedSamples;

    /**
     * 被系统过滤的样本信息。
     */
    private List<FaceRecognitionSampleVO> filteredSamples;
}
