28 lines
775 B
C#
28 lines
775 B
C#
using System;
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
|
|
namespace Kurs.Platform.Entities;
|
|
|
|
public class District : FullAuditedEntity<Guid>
|
|
{
|
|
public string CountryCode { get; set; }
|
|
public string CityCode { get; set; }
|
|
public string Name { get; set; }
|
|
public string Township { get; set; }
|
|
public string Street { get; set; }
|
|
public string ZipCode { get; set; }
|
|
public City City { get; set; }
|
|
|
|
protected District() { }
|
|
|
|
public District(Guid id, string countryCode, string cityCode, string name, string township, string street, string zipCode)
|
|
: base(id)
|
|
{
|
|
CountryCode = countryCode;
|
|
CityCode = cityCode;
|
|
Name = name;
|
|
Township = township;
|
|
Street = street;
|
|
ZipCode = zipCode;
|
|
}
|
|
}
|