2023-09-15 12:37:02 +03:30
|
|
|
|
using Brizco.Domain.Entities.Shift;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Brizco.Domain.CommandQueries.Commands;
|
|
|
|
|
|
|
2023-11-05 18:00:05 +03:30
|
|
|
|
public sealed record CreateShiftCommand(string Title, TimeSpan StartAt, TimeSpan EndAt, string Description )
|
2023-10-26 01:24:04 +03:30
|
|
|
|
: IRequest<ShiftSDto>;
|
2023-09-15 12:37:02 +03:30
|
|
|
|
|
2023-11-05 18:00:05 +03:30
|
|
|
|
public sealed record UpdateShiftCommand(Guid Id,string Title, TimeSpan StartAt, TimeSpan EndAt, string Description)
|
2023-09-18 09:45:02 +03:30
|
|
|
|
: IRequest<bool>;
|
2023-09-15 12:37:02 +03:30
|
|
|
|
|
2023-09-18 15:41:41 +03:30
|
|
|
|
public sealed record DeleteShiftCommand(Guid Id)
|
2023-09-18 09:45:02 +03:30
|
|
|
|
: IRequest<bool>;
|