using System.Collections.Generic;
using Siger.Middlelayer.Repository.Data;
using Siger.Middlelayer.Repository.Entities;
using Siger.Middlelayer.Repository.Paged;

namespace Siger.Middlelayer.Repository.Repositories.Interface
{
    public interface ISigerProjectShiftRepository : IApiConfigRepositoryBase<siger_project_shift>
    {
        IPagedCollectionResult<Shift> GetShifts(int sectionid, int projectid, int page, int pagesize);

        ShiftInfo GetShiftInfo(int id);

        IEnumerable<string> GetSectionShiftUserLists(int sectionid, int shiftid, int departmentid, int projectid);
        /// <summary>
        /// 获取员工当班信息
        /// </summary>
        /// <param name="gourp"></param>
        /// <param name="userid"></param>
        /// <returns></returns>
        Dictionary<int, string> GetCurrentShit(List<int> gourp, int userid);
    }
}
