package com.liquidnet.service.goblin.param.shouqianba.response;

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

@Data
@ApiModel(value = "收钱吧基础响应参数")
public class BaseResponse<T> {

    @ApiModelProperty(value = "是否成功（true-成功，false-失败）")
    private Boolean success;

    @ApiModelProperty(value = "业务码（200-成功，4001等-失败码）")
    private String code;

    @ApiModelProperty(value = "失败信息（success为false时返回失败原因描述）")
    private String msg;

    @ApiModelProperty(value = "data")
    private T data;

}
