using System;
using System.Collections.Generic;
using System.Text;

namespace Nirvana.Common
{
    /// <summary>
    /// 系统用户实体
    /// </summary>
    public class OperatorModel
    {
        /// <summary>
        /// 关联的客户ID
        /// </summary>
        public Guid BusinessId { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        public string BusinessCode { get; set; } = "";
        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserId { get; set; }
        /// <summary>
        /// 用户实际名称
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 角色ID
        /// </summary>
        public Guid RoleId { get; set; }
        /// <summary>
        /// 登录的IP
        /// </summary>
        public string LoginIPAddress { get; set; }
        /// <summary>
        /// 登录时间
        /// </summary>
        public DateTime LoginTime { get; set; }
        /// <summary>
        /// 账户类型
        /// </summary>
        public int AccountType { get; set; }
        /// <summary>
        /// 是否为超级管理员
        /// </summary>
        public bool IsSuper { get; set; } = false;
    }
}
