package org.jeecg.modules.hikiot.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="海康门禁新增/修改人脸DTO")
@ToString
public class AddFaceRequestDTO {
    private String deviceSerial;
    private Payload payload;
    @Data
    public static class Payload {
        private FaceInfo faceInfo;
        @Data
        public static class FaceInfo {
            private String employeeNo;
            private String faceURL;
            private String faceLibType = "blackFD";
            private String faceDbId = "1";
        }
    }
}
