using CSharpFunctionalExtensions;

using Monitoring.Core.Domain.Primitives;

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

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

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