MireaBackend/Application/Cqrs/Day/Commands/CreateDay/CreateDayCommand.cs
Polianin Nikita 2bb7573ca0
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m24s
feat: add a day command
2024-01-25 17:53:22 +03:00

12 lines
347 B
C#

using MediatR;
using System;
namespace Mirea.Api.DataAccess.Application.Cqrs.Day.Commands.CreateDay;
public class CreateDayCommand : IRequest<int>
{
public required DayOfWeek Index { get; set; }
public required int PairNumber { get; set; }
public required int LessonId { get; set; }
public required int GroupId { get; set; }
}