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

namespace Mall.Common
{
    /// <summary>
    /// web端登录用户信息缓存
    /// </summary>
    public class ERPUserInfo
    {



        /// <summary>
        /// 集团域名
        /// </summary>
        public string Domain { get; set; }



        /// <summary>
        /// 姓名
        /// </summary>
        public string emName { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int EmployeeId { get; set; }
        /// <summary>
        /// 集团id
        /// </summary>
        public int RB_Group_id { get; set; }

        /// <summary>
        /// 公司id
        /// </summary>
        public int RB_Branch_id { get; set; }
        /// <summary>
        /// 岗位id
        /// </summary>
        public int RB_Post_Id { get; set; }
        /// <summary>
        /// 部门id
        /// </summary>
        public int RB_Department_Id { get; set; }
        /// <summary>
        /// token
        /// </summary>
        public string token { get; set; }
        /// <summary>
        /// SecretKey
        /// </summary>
        public string SecretKey { get; set; }

        /// <summary>
        /// 用户头像
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 所在公司是否为总公司   1：是，2：否
        /// </summary>
        public int IsParentCompany { get; set; }
    }
}
