namespace Myshipping.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";
#region 公共数据库
///
/// 船公司
///
public const string CACHE_KEY_COMMON_DB_CARRIER = "CommonDbCarrier";
///
/// 船名
///
public const string CACHE_KEY_COMMON_DB_VESSEL = "CommonDbVessel";
///
/// 船代
///
public const string CACHE_KEY_COMMON_DB_FORWARDER = "CommonDbForwarder";
///
/// 场站
///
public const string CACHE_KEY_COMMON_DB_YARD = "CommonDbYard";
///
/// 起始港
///
public const string CACHE_KEY_COMMON_DB_PORTLOAD = "CommonDbPortload";
///
/// 目的港
///
public const string CACHE_KEY_COMMON_DB_PORT = "CommonDbPort";
///
/// 包装
///
public const string CACHE_KEY_COMMON_DB_PACKAGE = "CommonDbPackage";
///
/// 运输方式
///
public const string CACHE_KEY_COMMON_DB_SERVICE = "CommonDbService";
///
/// 箱型
///
public const string CACHE_KEY_COMMON_DB_CTN = "CommonDbCtn";
///
/// 付费方式
///
public const string CACHE_KEY_COMMON_DB_FRT = "CommonDbFrt";
///
/// 箱型映射
///
public const string CACHE_KEY_COMMON_DB_MAPPING_CTN = "CommonDbMappingCtn";
///
/// 箱型映射
///
public const string CACHE_KEY_COMMON_DB_MAPPING_CARRIER = "CommonDbMappingCarrier";
///
/// 付费方式映射
///
public const string CACHE_KEY_COMMON_DB_MAPPING_FRT = "CommonDbMappingFrt";
///
/// 租户参数
///
public const string CACHE_KEY_COMMON_DB_TENANT_PARAM_VALUE = "TenantParamValue";
///
/// 船名映射
///
public const string CACHE_KEY_COMMON_DB_MAPPING_VESSEL = "CommonDbMappingVessel";
///
/// 字典映射
///
public const string CACHE_KEY_COMMON_DB_DICT_DATA = "DictDataList";
///
/// 船名映射
///
public const string CACHE_KEY_DJY_EDI_SETTING = "DjyEdiSetting";
#endregion
public const string API_USER_HEADER_KEY = "USER_KEY";
public const string API_USER_HEADER_SECRET = "USER_SECRET";
#endregion
///
/// 程序集
///
public static string[] ENTITY_ASSEMBLY_NAME = new string[] { "Myshipping.Core", "Myshipping.Application", "Myshipping.FlowCenter" };
///
/// 删除字段
///
public const string DELETE_FIELD = "IsDeleted";
#region 数据库编号
public const string MasterDb = "0";
#endregion
}