using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VIZ.Framework.Core
{
    /// <summary>
    /// 枚举模型
    /// </summary>
    public class EnumModel : ModelBase
    {
        #region Key -- 枚举值

        private object key;
        /// <summary>
        /// 枚举值
        /// </summary>
        public object Key
        {
            get { return key; }
            set { key = value; this.RaisePropertyChanged(nameof(Key)); }
        }

        #endregion

        #region Description -- 描述

        private string description;
        /// <summary>
        /// 描述
        /// </summary>
        public string Description
        {
            get { return description; }
            set { description = value; this.RaisePropertyChanged(nameof(Description)); }
        }

        #endregion
    }
}
