autobus-api_old/AutobusApi.Domain/Entities/VehicleEnrollment.cs
2023-11-02 07:56:12 +02:00

25 lines
671 B
C#

using AutobusApi.Domain.Common;
namespace AutobusApi.Domain.Entities;
public class VehicleEnrollment : EntityBase
{
public required DateTime DepartureDateTimeUtc { get; set; }
public required int VehicleId { get; set; }
public Vehicle Vehicle { get; set; } = null!;
public required int RouteId { get; set; }
public Route Route { get; set; } = null!;
public ICollection<RouteAddressDetails> RouteAddressDetails { get; set; } = null!;
public ICollection<VehicleEnrollmentEmployee> Crew { get; set; } = null!;
public ICollection<Ticket> Tickets { get; set; } = null!;
public ICollection<Review> Reviews { get; set; } = null!;
}