using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace BookingModule.Entity
{
    [DataContract]
    public class Journey
    {
        [DataMember]
        public Location ArrivalStation { get; set; }
        [DataMember]
        public DateTime ArrivalTime { get; set; }
        [DataMember]
        public string Carrier { get; set; }
        [DataMember]
        public Location DepartureStation { get; set; }
        [DataMember]
        public DateTime DepartureTime { get; set; }
        [DataMember]
        public string Key { get; set; }
        [DataMember]
        public string Number { get; set; }

        public Journey()
        {

        }
    }
}
