using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace BBWY.Client.Models
{
    public class User : NotifyObject
    {
        //private string name;

        private Shop shop;

        public long Id { get; set; }

        /// <summary>
        /// 登录Token
        /// </summary>
        public string Token { get; set; }

        public string Name { get; set; }

        public string TeamId { get; set; }

        public string TeamName { get; set; }

        public Shop Shop { get => shop; set { Set(ref shop, value); } }

        public IList<Department2> DepartmentList { get; set; }
    }
}