15 lines
307 B
C#
15 lines
307 B
C#
using AutobusApi.Domain.Common;
|
|
|
|
namespace AutobusApi.Domain.Entities;
|
|
|
|
public class City : EntityBase
|
|
{
|
|
public string Name { get; set; } = null!;
|
|
|
|
public ICollection<Address> Addresses { get; set; } = null!;
|
|
|
|
public int RegionId { get; set; }
|
|
|
|
public Region Region { get; set; } = null!;
|
|
}
|