Api/Brizco.Core/EntityServices/CommandQueries/ShiftPlanCommands.cs

29 lines
822 B
C#

namespace Brizco.Core.EntityServices.CommandQueries;
public sealed record ChangeShiftPlanTaskStatusCommand(
Guid ShiftPlanId,
bool IsChangeToShift,
bool IsDisable) : IRequest<bool>;
public sealed record CreateShiftPlanCoreCommand(
long PlanDate,
Guid ShiftId,
Guid RoutineId,
Guid SupervisionUserId,
List<KeyValuePair<Guid, Guid>> UserAndPositionIds) : IRequest<bool>;
public sealed record UpdateShiftPlanCoreCommand(
Guid Id,
long PlanDate,
Guid ShiftId,
Guid RoutineId,
Guid SupervisionUserId,
List<KeyValuePair<Guid, Guid>> UserAndPositionIds) : IRequest<bool>;
public sealed record CompleteShiftPlanCommand(
Guid Id,
string CompleteDescription,
List<CompleteActivityRequestDto> CompleteActivities,
int CompletePercent) : IRequest<bool>;