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: FaceUrlByAddressReq
 * @Package com.liquidnet.common.third.zxlnft.dto.nft
 * @Copyright: LightNet @ Copyright (c) 2021
 * @date 2022/2/18 15:34
 */
@Data
public class Nft019FaceUrlByAddressRespDto implements Serializable {
    /**
     * 启动人脸核身的h5 url
     */
    private String h5Url;
    /**
     * 人脸核验请求的唯一标识,需要保存
     */
    private String faceId;

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

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