using CSharpFunctionalExtensions;

using Monitoring.Core.Domain.AssetManagement;

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

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

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