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.

90 lines
2.9 KiB
C#

10 months ago
namespace DS.Module.Core;
/// <summary>
/// 多语言配置
/// </summary>
public static class MultiLanguageConst
{
/// <summary>
/// 查询成功
/// </summary>
public static readonly string DataQuerySuccess = "Data_Query_Success";
/// <summary>
/// 更新成功
/// </summary>
public static readonly string DataUpdateSuccess = "Data_Update_Success";
/// <summary>
/// 程序异常
/// </summary>
public static readonly string ProgramException = "Program_Exception";
/// <summary>
/// 权限模块不存在
/// </summary>
public static readonly string PermissionNotExist = "Permission_NotExist";
/// <summary>
/// 非法请求
/// </summary>
public static readonly string IllegalRequest = "Illegal_Request";
#region 工作流相关
/// <summary>
/// 只能修改【草稿】和【驳回】状态的流程
/// </summary>
public static readonly string FlowEditOnlyDraftAndReject = "Flow_Edit_Only_DraftAndReject";
/// <summary>
/// 该流程模板已不存在,请重新设计流程
/// </summary>
public static readonly string FlowTemplateNotExist = "FlowTemplate_NotExist";
/// <summary>
/// 该工作流指定用户非本人
/// </summary>
public static readonly string FlowInstanceAssignUser = "FlowInstance_Assign_User";
/// <summary>
/// 该工作流指定角色非本人
/// </summary>
public static readonly string FlowInstanceAssignRole = "FlowInstance_Assign_Role";
/// <summary>
/// 创建工作流实例成功
/// </summary>
public static readonly string FlowInstanceCreateSuccess = "FlowInstance_Create_Success";
/// <summary>
/// 工作流实例撤销成功
/// </summary>
public static readonly string FlowInstanceCancelSuccess = "FlowInstance_Cancel_Success";
/// <summary>
/// 工作流实例更新成功
/// </summary>
public static readonly string FlowInstanceUpdateSuccess = "FlowInstance_Update_Success";
/// <summary>
/// 工作流实例审批成功
/// </summary>
public static readonly string FlowInstanceAuditSuccess = "FlowInstance_Audit_Success";
/// <summary>
/// 工作流实例不存在
/// </summary>
public static readonly string FlowInstanceNotExist = "FlowInstance_NotExist";
/// <summary>
/// 该工作流审批节点与当前节点不一致
/// </summary>
public static readonly string FlowInstanceNodeIdConflict
= "FlowInstance_NodeId_Conflict";
/// <summary>
/// 无法寻找到下一个节点
/// </summary>
public static readonly string FlowInstanceNotFindNextNode = "FlowInstance_NotFind_NextNode";
/// <summary>
/// 工作流实例已完成
/// </summary>
public static readonly string FlowInstanceFinished = "FlowInstance_Finished";
#endregion
}