CachedEntity
Generic types: | TClass |
Decorator for cached entities, it will load the cache and assign the properties to the entity
Presentation
function CachedEntity (): (Value: TClass, _context: ClassDecoratorContext<TClass>) => { new (...args: any[]): (Anonymous class); prototype: CachedEntity <any>.(Anonymous class); } & TClass;
Returns
(Value: TClass, _context: ClassDecoratorContext<TClass>) => { new (...args: any[]): (Anonymous class); prototype: CachedEntity <any>.(Anonymous class); } & TClass