using System;
using System.Collections.Generic;
using CncModels.Entity;

namespace CncRepository.Interface
{
    /// <summary>
    /// cnc_worker_daily_summary 工人日汇总表 仓储接口
    /// </summary>
    public interface IWorkerDailySummaryRepository
    {
        WorkerDailySummary GetByWorkerAndDate(int workerId, DateTime date);
        List<WorkerDailySummary> GetByDateRange(DateTime startDate, DateTime endDate);
        int Upsert(WorkerDailySummary entity);
    }
}
