package com.tcl.ah.module.token.data;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;

public class DataWraper<T> {
    @JsonAlias("ret")
    @JsonProperty("code")
    public int code = -1;
    @JsonProperty("data")
    public T data;

    @Override
    public String toString() {
        return "DataWraper{" +
                "code=" + code +
                ", data=" + data +
                '}';
    }
}
