25 lines
562 B
C#
25 lines
562 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
|
|
namespace Erp.Platform.Entities;
|
|
|
|
public class City : FullAuditedEntity<Guid>
|
|
{
|
|
public string Country { get; set; }
|
|
public string Name { get; set; }
|
|
public string PlateCode { get; set; }
|
|
|
|
public ICollection<District> Districts { get; set; }
|
|
|
|
protected City() { }
|
|
|
|
public City(Guid id, string country, string name, string plateCode)
|
|
: base(id)
|
|
{
|
|
Country = country;
|
|
Name = name;
|
|
PlateCode = plateCode;
|
|
}
|
|
}
|
|
|