2023-05-04 18:20:18 +08:00
|
|
|
|
namespace ZR.Model.System
|
2021-08-23 16:57:25 +08:00
|
|
|
|
{
|
|
|
|
|
|
public class UserConstants
|
|
|
|
|
|
{
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 平台内系统用户的唯一标志
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string SYS_USER = "SYS_USER";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 正常状态
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string NORMAL = "0";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 异常状态
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string EXCEPTION = "1";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 用户封禁状态
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string USER_DISABLE = "1";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 角色封禁状态
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string ROLE_DISABLE = "1";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 部门正常状态
|
|
|
|
|
|
/// </summary>
|
2023-07-31 18:42:08 +08:00
|
|
|
|
public static int DEPT_NORMAL = 0;
|
2021-08-23 16:57:25 +08:00
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 部门停用状态
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string DEPT_DISABLE = "1";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 字典正常状态
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string DICT_NORMAL = "0";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否为系统默认(是)
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string YES = "Y";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否菜单外链(是)
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string YES_FRAME = "1";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否菜单外链(否)
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string NO_FRAME = "0";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 菜单类型(目录)
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string TYPE_DIR = "M";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 菜单类型(菜单)
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string TYPE_MENU = "C";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 菜单类型(按钮)
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string TYPE_BUTTON = "F";
|
2023-02-17 11:00:26 +08:00
|
|
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
|
|
///// 菜单类型(链接)
|
|
|
|
|
|
///// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
//public static string TYPE_LINK = "L";
|
|
|
|
|
|
|
2023-02-17 11:00:26 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Layout组件标识
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string LAYOUT = "Layout";
|
2023-02-17 11:00:26 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// ParentView组件标识
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string PARENT_VIEW = "ParentView";
|
2023-02-17 11:00:26 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// InnerLink组件标识
|
|
|
|
|
|
/// </summary>
|
2022-06-19 11:38:32 +08:00
|
|
|
|
public static string INNER_LINK = "InnerLink";
|
2023-02-17 11:00:26 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 校验返回结果码
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public static string UNIQUE = "0";
|
|
|
|
|
|
public static string NOT_UNIQUE = "1";
|
2021-12-21 17:56:54 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// http请求
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public static string HTTP = "http://";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// https请求
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public static string HTTPS = "https://";
|
2022-11-17 10:47:43 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// www主域
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public static string WWW = "www.";
|
2021-08-23 16:57:25 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|