WorkFlow
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
namespace WorkFlow.Application.Contracts;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
@@ -10,5 +10,5 @@ public record DailyRollCallWorkFlowViewModel
|
||||
public string DayOfWeekFa { get; set; }
|
||||
public bool IsHoliday { get; set; }
|
||||
public bool IsFriday { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
#nullable disable
|
||||
namespace WorkFlow.Application.Contracts.Shared;
|
||||
|
||||
public class DailyWorkFlowEmployeesWithRollCallOnLeaveViewModel
|
||||
{
|
||||
public string DateFa { get; set; }
|
||||
public string DayOfWeek { get; set; }
|
||||
public List<WorkFlowEmployeeWithRollCallOnLeaveViewModel> EmployeesList { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public int EmployeesListCount { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
#nullable disable
|
||||
namespace WorkFlow.Application.Contracts.Shared;
|
||||
|
||||
public class WorkFlowEmployeeWithRollCallOnLeaveViewModel
|
||||
{
|
||||
public long EmployeeId { get; set; }
|
||||
public long LeaveId { get; set; }
|
||||
public long RollCallId { get; set; }
|
||||
public string EmployeeFullName { get; set; }
|
||||
public string StartOfOverlapDateFa { get; set; }
|
||||
public DateTime StartOfOverlapDateTime { get; set; }
|
||||
public DateTime EndOfOverlapDateTime { get; set; }
|
||||
public string EndOfOverlapDateFa { get; set; }
|
||||
public string StartOfOverlapTime { get; set; }
|
||||
public string EndOfOverlapTime { get; set; }
|
||||
}
|
||||
@@ -17,18 +17,21 @@ public interface IWorkFlowApplication
|
||||
int GetAllWorkFlowCount(long workshopId);
|
||||
|
||||
DailyRollCallWorkFlowViewModel GetAbsentRollCallWorkFlowsByDate(long workshopId, DateTime date);
|
||||
|
||||
DailyRollCallConfirmedWithoutLunchBreakViewModel GetEmployeesWithoutLunchBreakByDate(long workshopId, DateTime date);
|
||||
|
||||
DailyRollCallWorkFlowViewModel GetRollCallWorkFlowsCutByBgServiceByDate(long workshopId, DateTime date);
|
||||
DailyRollCallWorkFlowViewModel GetUndefinedRollCallsByDate(long workshopId, DateTime date);
|
||||
|
||||
DailyWorkFlowEmployeesWithRollCallOnLeaveViewModel GetRollCallsOverlappingLeaveByDate(long workshopId,
|
||||
DateTime date);
|
||||
|
||||
List<RollCallConfirmAbsenceViewModel> GetConfirmAbsencesBy(long workshopId, DateTime start, DateTime end);
|
||||
List<DailyRollCallWorkFlowViewModel> GetRollCallWorkFlowsCutByBgService(long workshopId);
|
||||
List<RollCallConfirmAbsenceViewModel> GetConfirmAbsencesBy(long workshopId, DateTime start, DateTime end);
|
||||
List<DailyWorkFlowEmployeesWithRollCallOnLeaveViewModel> GetRollCallsOverlappingLeaves(long workshopId);
|
||||
List<DailyRollCallWorkFlowViewModel> GetRollCallWorkFlowsCutByBgService(long workshopId);
|
||||
List<DailyRollCallWorkFlowViewModel> GetAbsentRollCallWorkFlows(long workshopId);
|
||||
List<DailyRollCallWorkFlowViewModel> GetUndefinedRollCalls(long workshopId);
|
||||
|
||||
|
||||
|
||||
List<DailyRollCallConfirmedWithoutLunchBreakViewModel> GetEmployeesWithoutLunchBreak(long workshopId);
|
||||
List<DailyRollCallConfirmedWithoutLunchBreakViewModel> GetEmployeesWithoutLunchBreak(long workshopId);
|
||||
List<(long Id, string Name)> GetEmployeesWithoutGroup(long workshopId);
|
||||
}
|
||||
Reference in New Issue
Block a user