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 TimeOnly IntendedDepartureTimeOnlyUtc { get; set; } public virtual IList RouteAddresses { get; set; } = null!; }