namespace Magic.Core;
public class CommonConst
{
#region 缓存
///
/// 用户缓存
///
public const string CACHE_KEY_USER = "user_";
///
/// 菜单缓存
///
public const string CACHE_KEY_MENU = "menu_";
///
/// 权限缓存
///
public const string CACHE_KEY_PERMISSION = "permission_";
///
/// 数据范围缓存
///
public const string CACHE_KEY_DATASCOPE = "datascope_";
public const string CACHE_KEY_USERSDATASCOPE = "usersdatascope_";
///
/// 验证码缓存
///
public const string CACHE_KEY_CODE = "vercode_";
///
/// 库表实体信息缓存
///
public const string CACHE_KEY_ENTITYINFO = "tableentity";
///
/// 所有权限缓存
///
public const string CACHE_KEY_ALLPERMISSION = "allpermission";
#endregion
///
/// 程序集
///
public static string[] ENTITY_ASSEMBLY_NAME = new string[] { "Magic.Core", "Magic.Application", "Magic.FlowCenter" };
///
/// 删除字段
///
public const string DELETE_FIELD = "IsDeleted";
#region 数据库编号
public const string MasterDb = "0";
#endregion
}