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

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

import java.math.BigDecimal;

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

    // 正面 (front)
    @Schema(description = "住址")
    private String address;

    @Schema(description = "使用性质")
    private String useCharacter;

    @Schema(description = "发动机号码")
    private String engineNumber;

    @Schema(description = "发证日期")
    private String issueDate;

    @Schema(description = "品牌型号")
    private String model;

    @Schema(description = "所有人")
    private String owner;

    @Schema(description = "注册日期")
    private String registerDate;

    @Schema(description = "号牌号码")
    private String plateNumber;

    @Schema(description = "车辆识别代号")
    private String vin;

    @Schema(description = "车辆类型")
    private String vehicleType;

    // 反面 (back)
    @Schema(description = "外廓尺寸")
    private String overallDimension;

    @Schema(description = "检验有效期至")
    private String inspectionValidDate;

    @Schema(description = "核定载质量")
    private BigDecimal approvedLoad;

    @Schema(description = "整备质量")
    private BigDecimal curbWeight;

    @Schema(description = "核定载人数")
    private BigDecimal approvedPassengerCapacity;

    @Schema(description = "总质量")
    private BigDecimal grossMass;

    @Schema(description = "准牵引总质量")
    private BigDecimal tractionMass;

    @Schema(description = "强制报废期止")
    private String mandatoryScrapDate;
}
