using System;
using System.Collections.Generic;
using Volpe.Cafe.MarketData.Design;

namespace Volpe.Cafe.MarketData.BaselineInfo
{
    /// <summary>
    /// Provides a description of baseline engineering characteristics for a vehicle platform.
    /// </summary>
    /// <seealso cref="IPlatform"/>
    [Serializable]
    public sealed class BaselinePlatform : BaselineComponent
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="BaselinePlatform"/> class.
        /// </summary>
        public BaselinePlatform(Dictionary<string, object> values) : base(values) { }

        /// <summary>
        /// Gets the unique name of the platform.
        /// </summary>
        public string Name { get; private set; }

        /// <summary>
        /// Returns the string representation of this <see cref="BaselinePlatform"/> instance.
        /// </summary>
        /// <returns>The string representation of the <see cref="BaselinePlatform"/> instance.</returns>
        public override string ToString()
        {
            return this.Name;
        }

    }
}
