erp-platform/api/src/Kurs.Platform.Domain/Entities/City.cs
2025-08-19 13:19:31 +03:00

27 lines
687 B
C#

using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
namespace Kurs.Platform.Entities;
public class City : FullAuditedEntity<Guid>
{
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<District> 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;
}
}