package com.yuchen.saas.manage.user.api.request.dto;

import com.yuchen.saas.manage.user.api.entity.UserVehicleData;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author 蔡文强
 * @Date 2023/5/5 15:56
 * @Description 用户车牌认证DTO
 */
@Data
public class UserVehicleCertificationDTO extends UserVehicleData {

    /**
     * 车牌号
     */
    @ApiModelProperty(name = "plateNoOcr", value = "车牌号")
    @NotBlank(message = "plateNoOcr不能为空")
    private String plateNoOcr;

    /**
     * 车辆类型
     */
    @ApiModelProperty(name = "vehicleType", value = "车辆类型")
    @NotBlank(message = "vehicleType不能为空")
    private String vehicleType;

    /**
     * 车辆类型
     */
    @ApiModelProperty(name = "vehicleTypeOcr", value = "车辆类型")
    @NotBlank(message = "vehicleTypeOcr不能为空")
    private String vehicleTypeOcr;

    /**
     * 车架号码
     */
    @ApiModelProperty(name = "frameNo", value = "车架号码")
    @NotBlank(message = "frameNo不能为空")
    private String frameNo;
    /**
     * 车架号码
     */
    @ApiModelProperty(name = "frameNoOcr", value = "车架号码")
    @NotBlank(message = "frameNoOcr不能为空")
    private String frameNoOcr;

    /**
     * 发动机号
     */
    @ApiModelProperty(name = "engineNo", value = "发动机号")
    @NotBlank(message = "engineNo不能为空")
    private String engineNo;

    /**
     * 发动机号
     */
    @ApiModelProperty(name = "engineNoOcr", value = "发动机号")
    @NotBlank(message = "engineNoOcr不能为空")
    private String engineNoOcr;

    /**
     * 所有人
     */
    @ApiModelProperty(name = "owner", value = "所有人")
    @NotBlank(message = "owner不能为空")
    private String owner;

    /**
     * 识别代码
     */
    @ApiModelProperty(name = "vin", value = "识别代码")
    @NotBlank(message = "vin不能为空")
    private String vin;

    /**
     * 行驶证图片
     */
    @ApiModelProperty(name = "vehicleLicense", value = "行驶证图片")
    @NotBlank(message = "vehicleLicense不能为空")
    private String vehicleLicense;

    /**
     * 发证日期
     */
    @ApiModelProperty(name = "issueDate", value = "发证日期")
    @NotBlank(message = "issueDate不能为空")
    private String issueDate;

    /**
     * 身份证图片
     */
    @ApiModelProperty(name = "idCardUrl", value = "身份证图片")
    @NotBlank(message = "身份证图片不能为空")
    private String idCardUrl;
    /**
     * 身份证号码
     */
    @ApiModelProperty(name = "idCard", value = "身份证号码")
    @NotBlank(message = "身份证号码不能为空")
    private String idCard;
    /**
     * 身份证姓名
     */
    @ApiModelProperty(name = "idCardName", value = "身份证姓名")
    @NotBlank(message = "身份证姓名不能为空")
    private String idCardName;

    /**
     * 身份证号码
     */
    @ApiModelProperty(name = "idCard", value = "身份证号码")
    @NotBlank(message = "身份证号码不能为空")
    private String idCardOcr;
    /**
     * 身份证姓名
     */
    @ApiModelProperty(name = "idCardName", value = "身份证姓名")
    @NotBlank(message = "身份证姓名不能为空")
    private String idCardNameOcr;
    
    /**
     * 认证通道（1：身份证）
     */
    @ApiModelProperty(name = "certificationChannel", value = "认证通道（1：身份证）")
    @NotNull(message = "认证通道不能为空")
    private Integer certificationChannel;

    @ApiModelProperty(name = "carType", value = "车辆类型")
    private Integer carType;
    @ApiModelProperty(name = "energyType", value = "能源类型")
    private Integer       energyType;







}
