auto.bus_api/Server/Models/Route.cs
cuqmbr 95028ed18b feat: many thing
- Database model
- Data transfer objects
- Country management controller
2022-10-10 20:34:09 +03:00

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!;
}