You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.1 KiB
C#

1 year ago
using System.ComponentModel;
namespace DS.Module.Core
{
/// <summary>
/// 返回结果枚举
/// </summary>
public enum ResultCode
{
/// <summary>
/// 成功结果类型
/// </summary>
[Description("操作成功")]
Success = 0,
/// <summary>
/// 操作取消或操作没引发任何变化
/// </summary>
[Description("操作没引发任何变化")]
NoChanged = 1,
/// <summary>
/// 失败结果类型
/// </summary>
[Description("操作失败")]
Fail = -1,
/// <summary>
/// 异常结果类型
/// </summary>
[Description("操作异常")]
Error = -2,
/// <summary>
/// 其他
/// </summary>
[Description("其他")]
Other = -3,
/// <summary>
/// 其他
/// </summary>
[Description("没权限")]
NoPermission = 401,
/// <summary>
///
/// </summary>
[Description("没数据")]
NoDatavailable = 201
1 year ago
}
}