HuanMengAdmin/admin-client/src/core/utils/AppDictionaryCache.ts
2024-08-19 02:40:21 +08:00

59 lines
1.8 KiB
TypeScript

import AppDictionaryImageCache from "./cache/AppDictionaryImageCache";
import { AbstractDictionaryCache } from "./cache/AbstractDictionaryCache";
import AppDictionaryTenantCache from "./cache/AppDictionaryTenantCache";
import AppDictionaryTypesCache from "./cache/AppDictionaryTypesCache";
import AppDictionaryPersonalitysCache from "./cache/AppDictionaryPersonalitysCache";
import AppDictionaryLablesCache from "./cache/AppDictionaryLablesCache";
import AppDictionaryActionTypeCache from "./cache/AppDictionaryActionTypeCache";
import AppDictionaryProductTypeCache from "./cache/AppDictionaryProductTypeCache";
import AppDictionaryCurrencyCache from "./cache/AppDictionaryCurrencyCache";
/**
* 基础数据缓存类
*/
class AppDictionaryCache {
/**
* 图片类型
*/
static appDictionaryImageCache: AbstractDictionaryCache = new AppDictionaryImageCache();
/**
* 多租户配置
*/
static appDictionaryTenantCache: AbstractDictionaryCache = new AppDictionaryTenantCache();
/**
* 性格缓存
*/
static appDictionaryPersonalitysCache: AbstractDictionaryCache = new AppDictionaryPersonalitysCache();
/**
* 类型配置
*/
static appDictionaryTypesCache: AbstractDictionaryCache = new AppDictionaryTypesCache();
/**
* 标签配置
*/
static appDictionaryLablesCache: AbstractDictionaryCache = new AppDictionaryLablesCache();
/**
* 动作类型
*/
static appDictionaryActionTypeCache: AbstractDictionaryCache = new AppDictionaryActionTypeCache();
/**
* 产品类型 hm-product-type
*/
static appDictionaryProductTypeCache: AbstractDictionaryCache = new AppDictionaryProductTypeCache();
/**
* 用户货币类型
*/
static appDictionaryCurrencyCache: AbstractDictionaryCache = new AppDictionaryCurrencyCache();
}
export default AppDictionaryCache;