using System.Text.Json.Serialization;
namespace Domains.LocationDomain;
/// Model of a city
public class City : IEntity
{
    /// Unique identifier of the 
    public Guid Id { get; private set; } = Guid.NewGuid();
    /// Name of the city
    public string Name { get; set; } = null!;
    ///  in which the city is located
    [JsonIgnore]
    public Country Country { get; set; } = null!;
}