SPMS_API/SPMS.Domain/Interfaces/IStatRepository.cs
SEAN da2001c79b feat: Domain Interface 정의 — Repository, UnitOfWork (#12)
IRepository<T> Generic CRUD, IUnitOfWork 트랜잭션,
도메인별 특화 Repository 인터페이스 7종 정의
(Service, Admin, Device, Message, PushLog, File, Stat)
2026-02-09 13:46:06 +09:00

11 lines
323 B
C#

using SPMS.Domain.Entities;
namespace SPMS.Domain.Interfaces;
public interface IStatRepository : IRepository<DailyStat>
{
Task<DailyStat?> GetByServiceAndDateAsync(long serviceId, DateOnly date);
Task<IReadOnlyList<DailyStat>> GetByDateRangeAsync(
long serviceId, DateOnly startDate, DateOnly endDate);
}