autobus-api_old/AutobusApi.Domain/Entities/Address.cs
2023-11-15 18:57:51 +02:00

21 lines
487 B
C#

using AutobusApi.Domain.Common;
using AutobusApi.Domain.Enums;
using AutobusApi.Domain.IEntities;
namespace AutobusApi.Domain.Entities;
public class Address : EntityBase
{
public string Name { get; set; } = null!;
public ICoordinates Location { get; set; } = null!;
public VehicleType VehicleType { get; set; }
public ICollection<RouteAddress> RouteAddresses { get; set; } = null!;
public int CityId { get; set; }
public City City { get; set; } = null!;
}