feat(dal): CacheService - структура + CacheMatchingStatusService
This commit is contained in:
14
PARR.DAL/Cache/Models/Base/IBaseCache.cs
Normal file
14
PARR.DAL/Cache/Models/Base/IBaseCache.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace PARR.DAL.Cache.Models.Base
|
||||
{
|
||||
/// <summary>
|
||||
/// Базовый интерфейс для КЭШ моделей
|
||||
/// </summary>
|
||||
public interface IBaseCache<T>
|
||||
{
|
||||
public T Data { get; set; }
|
||||
|
||||
public DateTimeOffset Timestamp { get; set; }
|
||||
|
||||
public string Source { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user