autobus-api_old/AutobusApi.Domain/Entities/Ticket.cs

19 lines
428 B
C#

using AutobusApi.Domain.Common;
namespace AutobusApi.Domain.Entities;
public class Ticket : EntityBase
{
public int DepartureAddressId { get; set; }
public int ArrivalAddressId { get; set; }
public int TicketGroupId { get; set; }
public TicketGroup TicketGroup { get; set; } = null!;
public int VehicleEnrollmentId { get; set; }
public VehicleEnrollment VehicleEnrollment { get; set; } = null!;
}