All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aiwiown.face.domain.orc.OCRDriverLicenseV1Card Maven / Gradle / Ivy

There is a newer version: 3.0.9
Show newest version
package com.aiwiown.face.domain.orc;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;

/**
 * @ClassName : OcrDriverLicenseV1Card
 * @Description : 驾照
 * @Author : dbin0123
 * @Date: 2020年4月13日10:19:09
 */
public class OCRDriverLicenseV1Card extends ApiObject {
    private static final long serialVersionUID = 9154176082818737281L;

    /**
     *有效日期,格式为YYYY-MM-DD
     */
    @ApiField("valid_from")
    private String validFrom;
    /**
     *性别(男/女)
     */
    @ApiField("gender")
    private String gender;
    /**
     *签发机关
     */
    @ApiField("issued_by")
    private String issuedBy;
    /**
     *初次领证日期,格式为YYYY-MM-DD
     */
    @ApiField("issue_date")
    private String issueDate;
    /**
     *准驾车型
     */
    @ApiField("class")
    private String classData;
    /**
     *驾驶证号
     */
    @ApiField("license_number")
    private String licenseNumber;
    /**
     *有效年限,例如 6年
     */
    @ApiField("valid_for")
    private String validFor;
    /**
     *有效期限格式为:YYYY-MM-DD至YYYY-MM-DD
     * 根据驾驶证版本不同,一种情况会返回valid_from和valid_for两个字段,另一种情况只返回valid_date字段。
     */
    @ApiField("valid_date")
    private String validDate;
    /**
     *生日,格式为YYYY-MM-DD
     */
    @ApiField("birthday")
    private String birthday;
    /**
     *驾驶证版本.
     * 返回 2,表示是2013版本驾驶证。
     * 返回 1,表示是2008或更早版本驾驶证。
     */
    @ApiField("version")
    private Integer version;
    /**
     *住址
     */
    @ApiField("address")
    private String address;
    /**
     *国籍
     */
    @ApiField("nationality")
    private String nationality;
    /**
     *证件类型。
     * 返回 2,表示是驾驶证。
     */
    @ApiField("type")
    private Integer type;
    /**
     *表示驾驶证的正面或者反面。该字段目前只会返回“front”,表示是正面
     */
    @ApiField("side")
    private String side;
    /**
     *姓名
     */
    @ApiField("name")
    private String name;

    public String getValidFrom() {
        return validFrom;
    }

    public void setValidFrom(String validFrom) {
        this.validFrom = validFrom;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getIssuedBy() {
        return issuedBy;
    }

    public void setIssuedBy(String issuedBy) {
        this.issuedBy = issuedBy;
    }

    public String getIssueDate() {
        return issueDate;
    }

    public void setIssueDate(String issueDate) {
        this.issueDate = issueDate;
    }

    public String getClassData() {
        return classData;
    }

    public void setClassData(String classData) {
        this.classData = classData;
    }

    public String getLicenseNumber() {
        return licenseNumber;
    }

    public void setLicenseNumber(String licenseNumber) {
        this.licenseNumber = licenseNumber;
    }

    public String getValidFor() {
        return validFor;
    }

    public void setValidFor(String validFor) {
        this.validFor = validFor;
    }

    public String getValidDate() {
        return validDate;
    }

    public void setValidDate(String validDate) {
        this.validDate = validDate;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getSide() {
        return side;
    }

    public void setSide(String side) {
        this.side = side;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy