package com.fufan.mtsaas.modules.common.bo.response;

//import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.plugins.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @TODO 返回结果集
 * @AUTHOR Liby
 * @CREATE 2018/7/16
 * @VERSION 1.0
 **/
@Data
@ApiModel(description = "返回结果集")
public class Result<T> {

//    @ApiModelProperty(value = "加签")
//    private String sign;

    @ApiModelProperty(value = "状态代码")
    private String resStatus;

    @ApiModelProperty(value = "状态描述信息")
    private String resMsg;

    @ApiModelProperty(value = "返回的内容，如果存在")
//    private IPage<T> resData;
    private Page<T> resData;

    @ApiModelProperty(value = "返回的内容，如果存在")
    private T objData;

    @ApiModelProperty(value = "返回的内容，如果存在")
    private List<T> objListData;

}
