namespace Intrepid.Gameplay.Journey.Runtime.Messages
{
    public sealed class JourneyTravelRequest
    {
        public StageTag OriginStageTag { get; set; }
        public string OriginEndpointId { get; set; }
        public StageTag DestinyStageTag { get; set; }
        public string DestinyEndpointId { get; set; }
        public JConnection Connection { get; set; }

        public override string ToString()
        {
            return $"{OriginStageTag}.{OriginEndpointId} --> {DestinyStageTag}.{DestinyEndpointId}";
        }
    }
}