11 lines
471 B
C#
11 lines
471 B
C#
|
|
using Brizco.Domain.Entities.Shift;
|
|||
|
|
|
|||
|
|
namespace Brizco.Domain.CommandQueries.Commands;
|
|||
|
|
|
|||
|
|
public sealed record CreateShiftCommand(string Title, TimeSpan StartAt, TimeSpan EndAt, string Description , List<DayOfWeek> DayOfWeeks)
|
|||
|
|
: IRequest<Shift>;
|
|||
|
|
|
|||
|
|
public sealed record UpdateShiftCommand(string Title, TimeSpan StartAt, TimeSpan EndAt, string Description, List<DayOfWeek> DayOfWeeks)
|
|||
|
|
: IRequest<Shift>;
|
|||
|
|
|
|||
|
|
public sealed record DeleteShiftCommand(Guid id) : IRequest;
|