namespace TFL.Entities; public class Line : IIdentifiable { public string Id; public string Name; public string ModeName; public List Disruptions; public DateTime Created; public DateTime? Modified; public List LineStatus; public List RouteSections; public List ServiceTypes; public Crowding Crowding; public Identifier ToIdentifier() => new() { Id = Id, Name = Name, Type = nameof(Line), Uri = $"/Line/{Id}", Crowding = Crowding }; }