using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;

namespace VIZ.Package.Domain
{
    /// <summary>
    /// 资源文件模型基类
    /// </summary>
    public class ResourceFileModelBase : ModelBase
    {
        #region FileType -- 文件类型

        private ResourceFileType fileType;
        /// <summary>
        /// 文件类型
        /// </summary>
        public ResourceFileType FileType
        {
            get { return fileType; }
            set { fileType = value; this.RaisePropertyChanged(nameof(FileType)); }
        }

        #endregion

        #region Name -- 名称

        private string name;
        /// <summary>
        /// 名称
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; this.RaisePropertyChanged(nameof(Name)); }
        }

        #endregion
    }
}
