using CareFusion.Lib.StorageSystem.Interfaces.Messages.Common;
using System.Xml.Serialization;

namespace CareFusion.Lib.StorageSystem.Wwks2.Messages
{
    /// <summary>
    /// Class which defines the basic attributes of every WWKS 2.0 message.
    /// </summary>
    public class MessageBase : IMessageBase
    {
        #region Properties

        /// <inheritdoc/>
        [XmlAttribute]
        public string Id { get; set; }

        /// <inheritdoc/>
        [XmlAttribute]
        public int Source { get; set; }

        /// <inheritdoc/>
        [XmlAttribute]
        public int Destination { get; set; }

        #endregion
    }
}
