using CSharpFunctionalExtensions;

namespace GeoRitmMover.Mover.Data;
public class PhotoMap : Entity<Guid>
{
	public int From { get; }
	public Guid To { get; }

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

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