using System; using System.Collections.Generic; using Volo.Abp.Domain.Entities.Auditing; namespace Kurs.Platform.Entities; public class City : FullAuditedEntity { public string CountryCode { get; set; } public string Name { get; set; } public string Code { get; set; } public string PlateCode { get; set; } public Country Country { get; set; } public ICollection Districts { get; set; } protected City() { } public City(Guid id, string countryCode, string name, string code, string plateCode) : base(id) { CountryCode = countryCode; Name = name; Code = code; PlateCode = plateCode; } }