package com.heyu.api.alibaba.resp;


import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/***
 * {
 *     "msg": "成功",
 *     "success": true,
 *     "code": 200,
 *     "data": {
 *         "msg": "一致",
 *         "result": 0,  //0一致 1不一致，2查无(卡状态异常或已注销)
 *         "orderNo": "202406282009008501069",
 *         "desc": "认证信息匹配"
 *     }
 * }
 */
@NoArgsConstructor
@Data
public class TBankMetaVerifyResponse {

    @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("msg")
        private String msg;
        @JsonProperty("result")
        private Integer result;
        @JsonProperty("orderNo")
        private String orderNo;
        @JsonProperty("desc")
        private String desc;
    }
}
