Files
schengen-visa/SchengenVisaApi/Domains/Common/Country.cs
2024-08-13 17:51:48 +03:00

19 lines
508 B
C#

namespace Domains.Common
{
/// Model of a country
public class Country : IEntity
{
/// Unique identifier of the <see cref="Country"/>
public Guid Id { get; private set; } = Guid.NewGuid();
/// Name of the country
public string Name { get; set; } = null!;
/// Located in Schengen area
public bool IsSchengen { get; set; }
/// List of <see cref="City"/> that country have
public List<City> Cities { get; set; } = null!;
}
}