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

import com.liquidnet.common.third.zxlnft.dto.nft.NftInfo;
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: InfoReq
 * @Package com.liquidnet.common.third.zxlnft.dto.nft
 * @Copyright: LightNet @ Copyright (c) 2021
 * @date 2022/2/18 15:47
 */
@Data
public class Nft036InfoRespDto implements Serializable {
    /**
     * nft元信息 json类型
     */
    private NftInfo nftInfo;

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

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