auto.bus_api/Server/Models/Route.cs

15 lines
352 B
C#

using System.ComponentModel.DataAnnotations;
namespace Server.Models;
public class Route
{
[Key]
public int Id { get; set; }
public string Type { get; set; } = null!;
public virtual IList<RouteAddress> RouteAddresses { get; set; } = null!;
public virtual IList<VehicleEnrollment> VehicleEnrollments { get; set; } = null!;
}