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.

165 lines
5.7 KiB
C#

9 months ago
using System.ComponentModel;
10 months ago
namespace DS.Module.Core;
/// <summary>
/// 多语言配置
/// </summary>
public static class MultiLanguageConst
{
10 months ago
/// <summary>
/// 查询成功
/// </summary>
9 months ago
[Description("查询成功")]
public const string DataQuerySuccess = "Data_Query_Success";
10 months ago
/// <summary>
/// 新增成功
/// </summary>
[Description("新增成功")]
public const string DataCreateSuccess = "Data_Create_Success";
/// <summary>
10 months ago
/// 更新成功
/// </summary>
9 months ago
[Description("更新成功")]
public const string DataUpdateSuccess = "Data_Update_Success";
/// <summary>
/// 删除成功
/// </summary>
[Description("删除成功")]
public const string DataDelSuccess = "Data_Del_Success";
/// <summary>
/// 更新失败
/// </summary>
[Description("更新失败")]
public const string DataUpdateFailed = "Data_Update_Failed";
9 months ago
/// <summary>
/// 导入成功
/// </summary>
[Description("导入成功")]
public const string DataImportSuccess = "Data_Import_Success";
10 months ago
/// <summary>
/// 程序异常
/// </summary>
9 months ago
[Description("程序异常")]
public const string ProgramException = "Program_Exception";
#region 用户管理
[Description("用户授权数量限制")]
public const string UserAuthNumLimit = "User_AuthNum_Limit";
10 months ago
[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";
10 months ago
/// <summary>
/// 权限模块不存在
/// </summary>
9 months ago
[Description("权限模块不存在")]
public const string PermissionNotExist = "Permission_NotExist";
10 months ago
[Description("数据权限已存在")]
public const string DataRuleExist = "Data_Rule_Exist";
10 months ago
/// <summary>
/// 非法请求
/// </summary>
9 months ago
[Description("非法请求")]
public const string IllegalRequest = "Illegal_Request";
10 months ago
#region 工作流相关
[Description("工作流实例存在引用的流程模板不能删除")]
public const string FlowTemplateDelExistImport = "FlowTemplate_Del_Exist_Import";
[Description("引入的流程模板不存在")]
public const string FlowTemplateImportNotExist = "FlowTemplate_Import_NotExist";
10 months ago
/// <summary>
/// 只能修改【草稿】和【驳回】状态的流程
/// </summary>
9 months ago
[Description("只能修改【就绪】和【撤销】状态的流程")]
public const string FlowEditOnlyReadyAndCancel = "Flow_Edit_Only_ReadyAndCancel";
10 months ago
/// <summary>
/// 该流程模板已不存在,请重新设计流程
/// </summary>
[Description("该流程模板不存在")]
9 months ago
public const string FlowTemplateNotExist = "FlowTemplate_NotExist";
10 months ago
/// <summary>
/// 该工作流指定用户非本人
/// </summary>
9 months ago
[Description("该工作流指定用户非本人")]
public const string FlowInstanceAssignUser = "FlowInstance_Assign_User";
10 months ago
/// <summary>
/// 该工作流指定角色非本人
/// </summary>
9 months ago
[Description("该工作流指定角色非本人")]
public const string FlowInstanceAssignRole = "FlowInstance_Assign_Role";
10 months ago
/// <summary>
/// 创建工作流实例成功
/// </summary>
9 months ago
[Description("创建工作流实例成功")]
public const string FlowInstanceCreateSuccess = "FlowInstance_Create_Success";
10 months ago
/// <summary>
/// 工作流实例撤销成功
/// </summary>
9 months ago
[Description("工作流实例撤销成功")]
public const string FlowInstanceCancelSuccess = "FlowInstance_Cancel_Success";
10 months ago
/// <summary>
/// 工作流实例更新成功
/// </summary>
9 months ago
[Description("工作流实例更新成功")]
public const string FlowInstanceUpdateSuccess = "FlowInstance_Update_Success";
10 months ago
/// <summary>
/// 工作流实例审批成功
/// </summary>
9 months ago
[Description("工作流实例审批成功")]
public const string FlowInstanceAuditSuccess = "FlowInstance_Audit_Success";
10 months ago
/// <summary>
/// 工作流实例不存在
/// </summary>
9 months ago
[Description("工作流实例不存在")]
public const string FlowInstanceNotExist = "FlowInstance_NotExist";
10 months ago
/// <summary>
/// 该工作流审批节点与当前节点不一致
/// </summary>
9 months ago
[Description("该工作流审批节点与当前节点不一致")]
public const string FlowInstanceNodeIdConflict
10 months ago
= "FlowInstance_NodeId_Conflict";
/// <summary>
/// 无法寻找到下一个节点
/// </summary>
9 months ago
[Description("无法寻找到下一个节点")]
public const string FlowInstanceNotFindNextNode = "FlowInstance_NotFind_NextNode";
10 months ago
/// <summary>
/// 工作流实例已完成
/// </summary>
9 months ago
[Description("工作流实例已完成")]
public const string FlowInstanceFinished = "FlowInstance_Finished";
10 months ago
#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";
#endregion
10 months ago
}