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

15 lines
316 B
C#

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