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