autobus-api_old/AutobusApi.Domain/Entities/Region.cs
2023-11-02 07:56:12 +02:00

15 lines
315 B
C#

using AutobusApi.Domain.Common;
namespace AutobusApi.Domain.Entities;
public class Region : EntityBase
{
public required string Name { get; set; }
public ICollection<City> Cities { get; set; } = null!;
public required int CountryId { get; set; }
public Country Country { get; set; } = null!;
}