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";
///
/// 新 用户数据权限缓存
///
public const string CACHE_KEY_USERDATASCOPE = "userdatascope";
///
/// 新 用户数据权限缓存(自定义)
///
public const string CACHE_KEY_USERDATASCOPEZDY = "userdatascopezdy";
///
/// SysEmp
///
public const string CACHE_KEY_SysEmp = "SysEmp";
///
/// SysOrg
///
public const string CACHE_KEY_SysOrg = "SysOrg";
#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_LANE = "CommonDbLane";
///
/// 航线与港口的的关系
///
public const string CACHE_KEY_COMMON_DB_LANE_PORT = "CommonDbLanePort";
///
/// 国家
///
public const string CACHE_KEY_COMMON_DB_COUNTRY = "CommonDbCountry";
///
/// 箱型映射
///
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_MAPPING_YARD = "CommonDbMappingYard";
///
/// 船代映射
///
public const string CACHE_KEY_COMMON_DB_MAPPING_FORWARDER = "CommonDbMappingForwarder";
///
/// 起始港映射
///
public const string CACHE_KEY_COMMON_DB_MAPPING_PORTLOAD = "CommonDbMappingPortLoad";
///
/// 目的港映射
///
public const string CACHE_KEY_COMMON_DB_MAPPING_PORT = "CommonDbMappingPort";
///
/// 包装映射
///
public const string CACHE_KEY_COMMON_DB_MAPPING_PACKAGE = "CommonDbMappingPackage";
///
/// 运输条款
///
public const string CACHE_KEY_COMMON_DB_MAPPING_SERVICE = "CommonDbMappingService";
///
/// 签单方式
///
public const string CACHE_KEY_COMMON_DB_MAPPING_CODEISSUETYPE = "CommonDbCodeIssueType";
///
/// 签单方式映射
///
public const string CACHE_KEY_COMMON_DB_MAPPING_ISSUETYPE = "CommonDbMappingIssueType";
///
/// 字典映射
///
public const string CACHE_KEY_COMMON_DB_DICT_DATA = "DictDataList";
///
/// EDI映射
///
public const string CACHE_KEY_DJY_EDI_SETTING = "DjyEdiSetting";
///
/// 系统配置
///
public const string DJY_CONST = "DJY_CONST";
///
/// 城市信息
///
public const string CACHE_KEY_COMMON_DB_CITY = "CommonDbCodeCity";
///
/// 省份信息
///
public const string CACHE_KEY_COMMON_DB_PROVINCE = "CommonDbCodeProvince";
///
/// 起运港与船代的关系
///
public const string CACHE_KEY_COMMON_DB_RELA_PORTLOAD_FORWARDER = "CommonDbRelaPortLoadForwarder";
#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
#region 角色Code
///
/// 机密费用检阅角色Code
///
public const string ROLE_SECRET_FEE_REVIEW = "SecretFeeReview";
///
/// 普通员工角色Code
///
public const string ROLE_COMMON_EMPLOYEE = "CommonEmployee";
#endregion
#region 费用
///
/// 费用编码缓存键
///
public const string CACHE_KEY_FEE_CODE = "FeeCodeList";
///
/// 币别缓存键
///
public const string CACHE_KEY_FEE_CURRENCY = "FeeCurrencyList";
#endregion
#region 标签
///
/// 标签缓存键
///
public const string CACHE_KEY_BOOKING_LABEL = "BookingLabelList";
#endregion
#region 映射模块
///
/// 收货地名称解析装货港港口
///
public const string RECEIPT_TO_PORTLOAD = "ReceiptToPortLoad";
///
/// 交货地名称解析卸货港港口
///
public const string DELIVERY_TO_PORT = "DeliveryToPort";
#endregion
#region 系统运行方式
///
/// 和川(会执行一些和川特有的逻辑)
///
public const string RUN_TYPE_HECHUAN = "HeChuan";
///
/// 标准模式(自用)
///
public const string RUN_TYPE_NORMAL = "Normal";
///
/// 客户订舱系统-客户端
///
public const string RUN_TYPE_CUST = "CUST";
///
/// 客户订舱系统-大简云运营端
///
public const string RUN_TYPE_DJY = "DJY";
#endregion
}