package com.heyu.api.tencent.resp;


import com.fasterxml.jackson.annotation.JsonProperty;
import com.heyu.api.data.dto.BaseResp;
import lombok.Data;
import lombok.NoArgsConstructor;


/***
 * {
 * 	"msg": "成功",
 * 	"success": true,
 * 	"code": 200,
 * 	"data": {
 * 		"birthday": "19920925",
 * 		"result": 0,
 * 		"address": "湖南省邵阳市城步苗族自治县",
 * 		"orderNo": "202504191342170884254",
 * 		"sex": "男",
 * 		"desc": "一致"
 * 	    }
 * }
 */
@NoArgsConstructor
@Data
public class ThirdIdCardResp extends BaseResp {


    @JsonProperty("msg")
    private String msg;
    @JsonProperty("success")
    private Boolean success;
    @JsonProperty("code")
    private Integer code;
    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("birthday")
        private String birthday;
        @JsonProperty("result")
        private Integer result;
        @JsonProperty("address")
        private String address;
        @JsonProperty("orderNo")
        private String orderNo;
        @JsonProperty("sex")
        private String sex;
        @JsonProperty("desc")
        private String desc;
    }
}
