package com.liquidnet.common.third.zxlnft.dto;

import com.liquidnet.commons.lang.util.JsonUtils;
import lombok.Data;

import java.io.Serializable;

/**
 * @author AnJiabin <anjiabin@zhengzai.tv>
 * @version V1.0
 * @Description: TODO
 * @class: FaceQueryReq
 * @Package com.liquidnet.common.third.zxlnft.dto.nft
 * @Copyright: LightNet @ Copyright (c) 2021
 * @date 2022/2/18 15:34
 */
@Data
public class Nft020FaceQueryRespDto implements Serializable {
    /**
     * 人脸核身结果
     */
    private Boolean result;

    private static final Nft020FaceQueryRespDto obj = new Nft020FaceQueryRespDto();
    public static Nft020FaceQueryRespDto getNew() {
        try {
            return (Nft020FaceQueryRespDto) obj.clone();
        } catch (CloneNotSupportedException e) {
            return new Nft020FaceQueryRespDto();
        }
    }

    @Override
    public String toString(){
        return JsonUtils.toJson(this);
    }
}
