using CSharpFunctionalExtensions;

using Monitoring.Core.Domain.AssetGroupManagement;

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

	private AssetGroupMap(Guid id, int from, AssetGroupId to)
	{
		Id = id;
		From = from;
		To = to;
	}

	protected AssetGroupMap() : base() { }

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