using System.ComponentModel; namespace System.Application.Services { /// /// 表示操作结果的枚举 /// [Description("操作结果的枚举")] public enum OperationResultType { /// /// 0 - 操作成功 /// [Description("操作成功。")] Success, /// /// 1 - 操作取消或操作没引发任何变化 /// [Description("操作没有引发任何变化,提交取消。")] NoChanged, /// /// 2 - 参数错误 /// [Description("参数错误。")] ParamError, /// /// 3 - 指定参数的数据不存在 /// [Description("指定参数的数据不存在。")] QueryNull, /// /// 4 - 权限不足 /// [Description("当前用户权限不足,不能继续操作。")] PurviewLack, /// /// 5 - 登录超时 /// [Description("登录超时")] LoginTimeOut, /// /// 6 - 非法操作 /// [Description("非法操作。")] IllegalOperation, /// /// 7 - 警告 /// [Description("警告")] Warning, /// /// 8 - 操作引发错误 /// [Description("操作引发错误。")] Error, } }