using System.ComponentModel; namespace DS.Module.Core; /// /// 多语言配置 /// public static class MultiLanguageConst { /// /// 查询成功 /// [Description("查询成功")] public const string DataQuerySuccess = "Data_Query_Success"; /// /// 新增成功 /// [Description("新增成功")] public const string DataCreateSuccess = "Data_Create_Success"; /// /// 更新成功 /// [Description("更新成功")] public const string DataUpdateSuccess = "Data_Update_Success"; /// /// 更新失败 /// [Description("更新失败")] public const string DataUpdateFailed = "Data_Update_Failed"; /// /// 导入成功 /// [Description("导入成功")] public const string DataImportSuccess = "Data_Import_Success"; /// /// 程序异常 /// [Description("程序异常")] public const string ProgramException = "Program_Exception"; #region 用户管理 [Description("用户授权数量限制")] public const string UserAuthNumLimit = "User_AuthNum_Limit"; [Description("{0}模块数量超出授权数量{1}")] public const string PerAuthNumLimit = "Permission_AuthNum_Limit"; [Description("用户唯一编码已存在")] public const string UserCodeExist = "UserCode_Exist"; [Description("角色唯一编码已存在")] public const string RoleCodeExist = "RoleCode_Exist"; #endregion [Description("字典类型唯一编码已存在")] public const string DictCodeExist = "DictCode_Exist"; [Description("机构名称已存在")] public const string OrgNameExist = "OrgName_Exist"; /// /// 权限模块不存在 /// [Description("权限模块不存在")] public const string PermissionNotExist = "Permission_NotExist"; /// /// 非法请求 /// [Description("非法请求")] public const string IllegalRequest = "Illegal_Request"; #region 工作流相关 /// /// 只能修改【草稿】和【驳回】状态的流程 /// [Description("只能修改【就绪】和【撤销】状态的流程")] public const string FlowEditOnlyReadyAndCancel = "Flow_Edit_Only_ReadyAndCancel"; /// /// 该流程模板已不存在,请重新设计流程 /// [Description("该流程模板已不存在,请重新设计流程")] public const string FlowTemplateNotExist = "FlowTemplate_NotExist"; /// /// 该工作流指定用户非本人 /// [Description("该工作流指定用户非本人")] public const string FlowInstanceAssignUser = "FlowInstance_Assign_User"; /// /// 该工作流指定角色非本人 /// [Description("该工作流指定角色非本人")] public const string FlowInstanceAssignRole = "FlowInstance_Assign_Role"; /// /// 创建工作流实例成功 /// [Description("创建工作流实例成功")] public const string FlowInstanceCreateSuccess = "FlowInstance_Create_Success"; /// /// 工作流实例撤销成功 /// [Description("工作流实例撤销成功")] public const string FlowInstanceCancelSuccess = "FlowInstance_Cancel_Success"; /// /// 工作流实例更新成功 /// [Description("工作流实例更新成功")] public const string FlowInstanceUpdateSuccess = "FlowInstance_Update_Success"; /// /// 工作流实例审批成功 /// [Description("工作流实例审批成功")] public const string FlowInstanceAuditSuccess = "FlowInstance_Audit_Success"; /// /// 工作流实例不存在 /// [Description("工作流实例不存在")] public const string FlowInstanceNotExist = "FlowInstance_NotExist"; /// /// 该工作流审批节点与当前节点不一致 /// [Description("该工作流审批节点与当前节点不一致")] public const string FlowInstanceNodeIdConflict = "FlowInstance_NodeId_Conflict"; /// /// 无法寻找到下一个节点 /// [Description("无法寻找到下一个节点")] public const string FlowInstanceNotFindNextNode = "FlowInstance_NotFind_NextNode"; /// /// 工作流实例已完成 /// [Description("工作流实例已完成")] public const string FlowInstanceFinished = "FlowInstance_Finished"; #endregion }