using System.Runtime.Serialization;

using BS.Shared.Core;

namespace BS.Shared.DataContracts
{
    [DataContract]
    [KnownType(typeof(DateTimeSpan))]
    public class QueryParamDC : IDataContract
    {
        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public QueryParameterType ParamType { get; set; }

        [DataMember]
        public object Value { get; set; }
    }
}