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

namespace SignTokenApi.IRepositories
{
    public interface ISys_Work_UserGroupRepository : IRepository<Sys_Work_UserGroup, string>
    {
        /// <summary>
        /// 获取排班人员
        /// </summary>
        /// <param name="keyword"></param>
        /// <returns></returns>
        IEnumerable<object> GetUserList(string projectid, string keyword);

        /// <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> GetUserGroupList(string projectid, string startdate, string enddate, string usercode, string groupcode);

        /// <summary>
        /// 获取用户排班详情
        /// </summary>
        /// <param name="usercode"></param>
        /// <param name="date"></param>
        /// <returns></returns>
        object GetUserGroupInfo(string usercode, string date);
    }
}
