package com.heyu.api.baidu.response.certificate;


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

/**
 * {
 *     "words_result_num": 3,
 *     "words_result": {
 *         "verifyresult": "1",
 *         "companymatch": "1",
 *         "regnummatch": "1"
 *     },
 *     "log_id": 1585111579921862445
 * }
 */
@NoArgsConstructor
@Data
public class BTwoFactorsVerificationResp {


    @JsonProperty("words_result_num")
    private Integer wordsResultNum;
    @JsonProperty("words_result")
    private WordsResultDTO wordsResult;
    @JsonProperty("log_id")
    private Long logId;

    @NoArgsConstructor
    @Data
    public static class WordsResultDTO {
        @JsonProperty("verifyresult")
        private String verifyresult;
        @JsonProperty("companymatch")
        private String companymatch;
        @JsonProperty("regnummatch")
        private String regnummatch;
    }
}
