package com.heyu.api.resp.certificate;


import com.heyu.api.data.dto.BaseResp;
import lombok.Data;

@Data
public class PassportResp extends BaseResp {




    private String passportType;        //护照类型
    private String passportCountryCode;     //国家码
    private String passportIssueAddress;        //护照签发地点
    private String mRZCode2;                // MRZCode2
    private String validDateEnd;            //有效期
    private String issueUnit;           // 签发机关
    private String MRZCode1;            //MRZCode1
    private String passportNo;      //护照号
    private String birthAddress;        //出生地点
    private String name;      //姓名
    private String namePinYin;      //姓名拼音
    private String nationality;     //国籍
    private String birthDay;            //生日
    private String gender; //性别名称：男、女

}


/***
 * {
 *     "log_id": 7377468409496932872,
 *     "direction": 0,
 *     "words_result_num": 15,
 *     "words_result": {
 *        "护照类型": {
 *             "location": {
 *                 "width": 59,
 *                 "top": 200,
 *                 "left": 762,
 *                 "height": 26
 *             },
 *             "words": "P"
 *         },
 *        "国家码": {
 *             "location": {
 *                 "width": 59,
 *                 "top": 200,
 *                 "left": 762,
 *                 "height": 26
 *             },
 *             "words": "CHN"
 *         },
 *         "护照签发地点": {
 *             "location": {
 *                 "width": 236,
 *                 "top": 505,
 *                 "left": 558,
 *                 "height": 43
 *             },
 *             "words": "山东/SHANDONG"
 *         },
 *         "MRZCode2": {
 *             "location": {
 *                 "width": 1252,
 *                 "top": 797,
 *                 "left": 145,
 *                 "height": 88
 *             },
 *             "words": "E898657303CHNSDMO7O2<<<<<<<<<<<<<"
 *         },
 *         "有效期至": {
 *             "location": {
 *                 "width": 287,
 *                 "top": 528,
 *                 "left": 955,
 *                 "height": 46
 *             },
 *             "words": "20261004"
 *         },
 *         "签发机关": {
 *             "location": {
 *                 "width": 271,
 *                 "top": 583,
 *                 "left": 552,
 *                 "height": 42
 *             },
 *             "words": "出入境管理局"
 *         },
 *         "MRZCode1": {
 *             "location": {
 *                 "width": 1201,
 *                 "top": 781,
 *                 "left": 162,
 *                 "height": 45
 *             },
 *             "words": "PONSUN<<JIAJIA<<<<<<<<<<<<<<<<<<<<<<<<<<"
 *         },
 *         "护照号码": {
 *             "location": {
 *                 "width": 237,
 *                 "top": 215,
 *                 "left": 994,
 *                 "height": 48
 *             },
 *             "words": "E89865730"
 *         },
 *         "签发日期": {
 *             "location": {
 *                 "width": 279,
 *                 "top": 453,
 *                 "left": 955,
 *                 "height": 46
 *             },
 *             "words": "20161005"
 *         },
 *         "出生地点": {
 *             "location": {
 *                 "width": 216,
 *                 "top": 429,
 *                 "left": 564,
 *                 "height": 43
 *             },
 *             "words": "山东/SHANDONG"
 *         },
 *         "姓名": {
 *             "location": {
 *                 "width": 159,
 *                 "top": 247,
 *                 "left": 581,
 *                 "height": 34
 *             },
 *             "words": "孙嘉佳"
 *         },
 *         "姓名拼音": {
 *             "location": {
 *                 "width": 229,
 *                 "top": 279,
 *                 "left": 578,
 *                 "height": 41
 *             },
 *             "words": "SUN,JIAJIA"
 *         },
 *         "国籍": {
 *             "location": {
 *                 "width": 209,
 *                 "top": 366,
 *                 "left": 695,
 *                 "height": 42
 *             },
 *             "words": "中国/CHINESE"
 *         },
 *         "生日": {
 *             "location": {
 *                 "width": 202,
 *                 "top": 382,
 *                 "left": 950,
 *                 "height": 39
 *             },
 *             "words": "19950723"
 *         },
 *         "性别": {
 *             "location": {
 *                 "width": 73,
 *                 "top": 357,
 *                 "left": 570,
 *                 "height": 34
 *             },
 *             "words": "男/M"
 *         }
 *     }
 * }
 */