auto.bus_api/Server/Models/Route.cs
2022-11-24 10:57:05 +02:00

15 lines
391 B
C#

using System.ComponentModel.DataAnnotations;
using SharedModels.DataTransferObjects;
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!;
}