package com.yn.bftl.thirdparty.modules.baiduai.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author：Vance
 * @Description：身份证信息vo
 * @Date：2022/12/21 10:08
 */
@ApiModel(value = "IdcardInfoVO", description = "身份证信息vo")
@Data
public class IdcardInfoVO {

    @ApiModelProperty("证件类型:1(\"中国大陆居民-身份证\"),2(\"其他国家或地区居民-护照\"),3(\"中国香港居民–来往内地通行证\"),4(\"中国澳门居民–来往内地通行证\"),5(\"中国台湾居民–来往大陆通行证\")")
    private String idCardType;

    @ApiModelProperty("姓名")
    private String idCardName;

    @ApiModelProperty("证件号码")
    private String idCardNumber;

    @ApiModelProperty("证件开始时间,格式:yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime idCardStartTime;

    @ApiModelProperty("证件结束时间,格式:yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime idCardEndTime;

    @ApiModelProperty("发证机关")
    private String idCardIssuingAuthority;

    @ApiModelProperty("性别：1(\"男\"),2(\"女\")")
    private String gender;

    @ApiModelProperty("住所地")
    private String workAddress;
}
