15 lines
368 B
C#
15 lines
368 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 TimeOnly IntendedDepartureTimeOnlyUtc { get; set; }
|
|
|
|
public virtual IList<RouteAddress> RouteAddresses { get; set; } = null!;
|
|
} |