using CSharpFunctionalExtensions;

using Monitoring.Core.Domain.Primitives;

namespace GeoRitmMover.Mover.Data;
public class ZoneMap : Entity<Guid>
{
	public int From { get; }
	public ZoneId To { get; } = default!;

	private ZoneMap(Guid id, int from, ZoneId to)
	{
		Id = id;
		From = from;
		To = to;
	}
	protected ZoneMap() : base() { }

	public static ZoneMap Create(Guid id, int from, ZoneId to)
	{
		return new ZoneMap(id, from, to);
	}
}
