package com.njcn.web.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * pqs
 *
 * @author cdf
 * @date 2024/5/9
 */
@Data
public class PmsHttpResult<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("返回提示信息")
    private String msg;

    @ApiModelProperty("返回状态码")
    private Integer code;

    @ApiModelProperty("返回数据")
    private T data;

    @ApiModelProperty("状态")
    private String sucess;

    @ApiModelProperty("返回机密数据")
    private String encrypt_data;

    @ApiModelProperty("返回其他数据")
    private String other;


    public PmsHttpResult(Integer code, T data) {
        this.code = code;
        this.data = data;
    }
}
