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 DataDelSuccess = "Data_Del_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 ConfigExist = "Config_Exist"; /// /// 权限模块不存在 /// [Description("权限模块不存在")] public const string PermissionNotExist = "Permission_NotExist"; [Description("数据权限已存在")] public const string DataRuleExist = "Data_Rule_Exist"; [Description("系统编码已存在")] public const string SequenceExist = "Sequence_Exist"; [Description("系统编码规则已存在")] public const string SequenceRuleExist = "Sequence_Rule_Exist"; /// /// 非法请求 /// [Description("非法请求")] public const string IllegalRequest = "Illegal_Request"; #region 工作流相关 [Description("工作流实例存在引用的流程模板不能删除")] public const string FlowTemplateDelExistImport = "FlowTemplate_Del_Exist_Import"; [Description("引入的流程模板不存在")] public const string FlowTemplateImportNotExist = "FlowTemplate_Import_NotExist"; /// /// 只能修改【草稿】和【驳回】状态的流程 /// [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 #region 基础信息 [Description("商品类型已存在")] public const string CodeGoodsTypeExist = "Code_Goods_Type_Exist"; [Description("商品类型导入无数据")] public const string CodeGoodsTypeImportNoData = "Code_Goods_Type_Import_No_Data"; [Description("存在已导入的商品类型")] public const string CodeGoodsTypeImportAlready = "Code_Goods_Type_Import_Already"; [Description("商品已存在")] public const string CodeGoodsExist = "Code_Goods_Exist"; [Description("商品导入无数据")] public const string CodeGoodsImportNoData = "Code_Goods_Import_No_Data"; [Description("存在已导入的商品")] public const string CodeGoodsImportAlready = "Code_Goods_Import_Already"; [Description("签单方式已存在")] public const string CodeIssueTypeExist = "Code_Issue_Type_Exist"; [Description("签单方式导入无数据")] public const string CodeIssueTypeImportNoData = "Code_Issue_Type_Import_No_Data"; [Description("存在已导入的签单方式")] public const string CodeIssueTypeImportAlready = "Code_Issue_Type_Import_Already"; [Description("包装类型已存在")] public const string CodePackageExist = "Code_Package_Exist"; [Description("包装类型导入无数据")] public const string CodePackageImportNoData = "Code_Package_Import_No_Data"; [Description("存在已导入的包装类型")] public const string CodePackageImportAlready = "Code_Package_Import_Already"; [Description("国家信息已存在")] public const string CodeCountryExist = "Code_Country_Exist"; [Description("国家信息导入无数据")] public const string CodeCountryImportNoData = "Code_Country_Import_No_Data"; [Description("存在已导入的国家信息")] public const string CodeCountryImportAlready = "Code_Country_Import_Already"; [Description("集装箱信息已存在")] public const string CodeCtnExist = "Code_Ctn_Exist"; [Description("集装箱信息导入无数据")] public const string CodeCtnImportNoData = "Code_Ctn_Import_No_Data"; [Description("存在已导入的集装箱信息")] public const string CodeCtnImportAlready = "Code_Ctn_Import_Already"; [Description("港口信息已存在")] public const string CodePortExist = "Code_Port_Exist"; [Description("港口信息导入无数据")] public const string CodePortImportNoData = "Code_Port_Import_No_Data"; [Description("存在已导入的港口信息")] public const string CodePortImportAlready = "Code_Port_Import_Already"; [Description("船名信息已存在")] public const string CodeVesselExist = "Code_Vessel_Exist"; [Description("船名信息导入无数据")] public const string CodeVesselImportNoData = "Code_Vessel_Import_No_Data"; [Description("存在已导入的船名信息")] public const string CodeVesselImportAlready = "Code_Vessel_Import_Already"; [Description("航次信息已存在")] public const string CodeVoynoExist = "Code_Voyno_Exist"; [Description("航次信息导入无数据")] public const string CodeVoynoImportNoData = "Code_Voyno_Import_No_Data"; [Description("存在已导入的航次信息")] public const string CodeVoynoImportAlready = "Code_Voyno_Import_Already"; [Description("业务来源信息已存在")] public const string CodeSourceExist = "Code_Source_Exist"; [Description("业务来源信息导入无数据")] public const string CodeSourceImportNoData = "Code_Source_Import_No_Data"; [Description("存在已导入的业务来源信息")] public const string CodeSourceImportAlready = "Code_Source_Import_Already"; [Description("业务来源信息明细已存在")] public const string CodeSourceDetailExist = "Code_Source_Detail_Exist"; [Description("业务来源明细信息导入无数据")] public const string CodeSourceDetailImportNoData = "Code_Source_Detail_Import_No_Data"; [Description("存在已导入的业务来源明细信息")] public const string CodeSourceDetailImportAlready = "Code_Source_Detail_Import_Already"; [Description("航线信息已存在")] public const string CodeLaneExist = "Code_Lane_Exist"; [Description("航线信息导入无数据")] public const string CodeLaneImportNoData = "Code_Lane_Import_No_Data"; [Description("存在已导入的航线信息")] public const string CodeLaneImportAlready = "Code_Lane_Import_Already"; #endregion }