package com.hotwj.platform.integration.ocr.baidu.domain.vo;

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

/**
 * 驾驶证识别结果
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DrivingLicenseVo extends BaiduOcrBaseVo {

    // 正面 (front)
    @Schema(description = "初次领证日期")
    private String initialIssueDate;

    @Schema(description = "有效期至")
    private String endDate;

    @Schema(description = "准驾车型")
    private String vehicleClass;

    @Schema(description = "发证单位")
    private String issuingAuthority;

    @Schema(description = "证号")
    private String licenseNumber;

    // 反面 (back)
    @Schema(description = "档案编号")
    private String archiveNumber;
}
