namespace XLib.DotNetCore.Base;

/// <summary>
/// 接口和服务调用通用响应接口
/// </summary>
public interface IResponse
{
    ///// <summary>
    ///// Http状态码
    ///// </summary>
    //HttpStatusCode StatusCode { get; set; }

    /// <summary>
    /// 功能执行返回代码
    /// </summary>
    int Code { get; set; }

    /// <summary>
    /// 消息
    /// </summary>
    string Message { get; set; }
}
