26 lines
538 B
C#
26 lines
538 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using _0_Framework.Domain;
|
|
|
|
namespace Company.Domain.ZoneAgg;
|
|
|
|
public class Zone : EntityBase
|
|
{
|
|
public Zone(string zoneName, int cityId)
|
|
{
|
|
ZoneName = zoneName;
|
|
CityId = cityId;
|
|
}
|
|
|
|
public string ZoneName { get; private set; }
|
|
public int CityId { get; private set; }
|
|
|
|
public void Edit(string zoneName, int cityId)
|
|
{
|
|
ZoneName = zoneName;
|
|
CityId = cityId;
|
|
}
|
|
} |