package com.heyu.api.data.dto;

import lombok.Data;

@Data
public class IdCardAddressModel {

    public IdCardAddressModel(String p, String c, String co, int s,String birthday){
        province = p;
        city = c;
        county = co;
        sex = s;
        if (sex == 1){
            sexChar = "男";
        }else{
            sexChar = "女";
        }

        this.birthday = birthday;

    }


    /**
     * 国家
     * */
    String country = "中国";

    /**
     * 省份
     * */
    String province;

    /**
     * 市
     * */
    String city;

    /**
     * 区
     * */
    String county;

    /**
     * 性别 0 男 1女
     * */
    int sex;

    /**
     * 性别描述
     * */
    String sexChar;

    /***
     * 生日
     */
    private String birthday;

}
