erp-platform/api/src/Erp.Platform.Domain/Entities/Host/City.cs

26 lines
562 B
C#
Raw Normal View History

2025-11-11 19:49:52 +00:00
using System;
2025-08-18 21:25:09 +00:00
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
2025-11-11 19:49:52 +00:00
namespace Erp.Platform.Entities;
2025-06-27 07:15:36 +00:00
public class City : FullAuditedEntity<Guid>
{
2025-10-03 11:35:52 +00:00
public string Country { get; set; }
2025-08-18 21:25:09 +00:00
public string Name { get; set; }
public string PlateCode { get; set; }
2025-08-19 10:19:31 +00:00
public ICollection<District> Districts { get; set; }
protected City() { }
2025-08-18 21:25:09 +00:00
2025-12-12 11:33:52 +00:00
public City(Guid id, string country, string name, string plateCode)
2025-08-19 10:19:31 +00:00
: base(id)
{
2025-10-03 11:35:52 +00:00
Country = country;
2025-08-19 10:19:31 +00:00
Name = name;
PlateCode = plateCode;
}
}
2025-11-11 19:49:52 +00:00