autobus-api_old/AutobusApi.Application/Buses/Commands/UpdateBus/UpdateBusCommand.cs

27 lines
542 B
C#

using MediatR;
namespace AutobusApi.Application.Buses.Commands.UpdateBus;
public record UpdateBusCommand : IRequest
{
public int Id { get; set; }
public int CompanyId { get; set; }
public string Number { get; set; } = null!;
public string Model { get; set; } = null!;
public int Capacity { get; set; }
public bool HasClimateControl { get; set; }
public bool HasWiFi { get; set; }
public bool HasMultimedia { get; set; }
public bool HasWC { get; set; }
public bool HasOutlets { get; set; }
}