using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YuanXuan.IM.Common.Response
{
public class BaseResponse
{
///
/// 业务结果代码
///
public int code { get; set; }
///
/// 返回消息
///
public string msg { get; set; } = "";
}
///
/// 基础返回实体类
///
///
public class BaseResponse : BaseResponse
{
public BaseResponse(int code, string msg = "", T data = default)
{
this.code = code;
this.msg = msg;
this.data = data;
}
///
/// 返回实体
///
public T data { get; set; }
}
}