using MadRunFabric.Common;
using MadRunFabric.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace SignTokenApi.IRepositories
{
    public interface ISys_ClassGroup_User_MapRepository : IRepository<Sys_ClassGroup_User_Map, string>
    {
        /// <summary>
        /// 获取排班详情
        /// </summary>
        /// <param name="projectid"></param>
        /// <param name="startdate"></param>
        /// <param name="enddate"></param>
        /// <param name="usercode"></param>
        /// <param name="groupcode"></param>
        /// <returns></returns>
        IEnumerable<object> GetClassGroupUserList(string projectid, string listday,int card, UserInfoModel userinfo);

        /// <summary>
        /// 获取当月排班标记
        /// </summary>
        /// <param name="projectid"></param>
        /// <param name="startdate"></param>
        /// <param name="enddate"></param>
        /// <param name="usercode"></param>
        /// <param name="groupcode"></param>
        /// <returns></returns>
        object GetClassGroupMarker(string projectid, string usercode, UserInfoModel userinfo);

        /// <summary>
        /// 获取班次时间段上班的人员 - 今天
        /// </summary>
        /// <param name="projectid"></param>
        /// <param name="startdate"></param>
        /// <param name="enddate"></param>
        /// <param name="usercode"></param>
        /// <param name="groupcode"></param>
        /// <returns></returns>
        object GetWorkUserListByDay(UserInfoModel userinfo);
    }
}
