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

namespace Com.FirmLib.UI.Maintainer
{

    public class MaintainerShowItem : BasePropertyChanged
    {
        public string Id { get; set; }

        private string m_Name;
        /// <summary>
        /// 供应商名字
        /// </summary>
        public string Name
        {
            get { return this.m_Name; }
            set
            {
                this.m_Name = value;
                RaisePropertyChanged(() => this.Name);
            }
        }


        private string m_Url;
        /// <summary>
        /// 供应商网址
        /// </summary>
        public string Url
        {
            get { return this.m_Url; }
            set
            {
                this.m_Url = value;
                RaisePropertyChanged(() => this.Url);
            }
        }

        private List<string> m_BrandNames;
        /// <summary>
        /// 包含品牌名称
        /// </summary>
        public List<string> BrandNames
        {
            get { return this.m_BrandNames; }
            set
            {
                this.m_BrandNames = value;
                RaisePropertyChanged(() => this.BrandNames);
            }
        }


        private List<string> m_FamilyNames;
        /// <summary>
        /// 包含类型族名称
        /// </summary>
        public List<string> FamilyNames
        {
            get { return this.m_FamilyNames; }
            set
            {
                this.m_FamilyNames = value;
                RaisePropertyChanged(() => this.FamilyNames);
            }
        }


        private int m_RefProjectCount;
        /// <summary>
        /// 关联项目个数
        /// </summary>
        public int RefProjectCount
        {
            get { return this.m_RefProjectCount; }
            set
            {
                this.m_RefProjectCount = value;
                RaisePropertyChanged(() => this.RefProjectCount);
            }
        }
    }
}
