ResultVO.java 514 Bytes
package vion.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResultVO<T> {
    @JsonProperty(value = "msg_code")
    private Integer code;
    @JsonProperty(value = "msg_info")
    private String message;
    private String atoken;
    private Integer totalNum;
    private T data;

    private T result;
}