using System;
using System.Collections.Generic;
using System.Text;

namespace Performance.DtoModels
{
    /// <summary>
    /// title value
    /// </summary>
    public class TitleValue<T>
    {
        /// <summary>
        /// Title
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// Value
        /// </summary>
        public T Value { get; set; }
        /// <summary>
        /// 1、已选，2、未选，3、已被选择
        /// </summary>
        public int State { get; set; }
    }
    /// <summary>
    /// title value
    /// </summary>
    public class TitleValue : TitleValue<string>
    {
        public TitleValue()
        {
        }
        public TitleValue(string title, string value)
            : this(title, value, 2)
        {
        }
        public TitleValue(string title, string value, int state)
        {
            this.Title = title;
            this.Value = value;
            this.State = state;
        }
    }
}
