using Hncore.Infrastructure.DDD;
using System;

namespace Hncore.Pass.BaseInfo.Models
{
    public partial class Manager : EntityWithTime<int>, ITenant
    {
        /// <summary>
        /// 所属物业ID
        /// <summary>
        public int TenantId { get; set; }

        /// <summary>
        /// 更新人ID
        /// <summary>
        public int UpdatorId { get; set; }

        /// <summary>
        /// 创建人ID
        /// <summary>
        public int CreatorId { get; set; }

        /// <summary>
        /// 管理员登录名[16
        /// </summary>
        public string LoginCode { get; set; }

        /// <summary>
        /// 登录密码[20]
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 管理员角色
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 头像地址[30
        /// </summary>
        public string PhotoUrl { get; set; }

        /// <summary>
        /// 微信openid[50]
        /// </summary>
        public string WxOpenid { get; set; }

        /// <summary>
        /// 微信昵称
        /// </summary>
        public string WxNickName { get; set; }

        /// <summary>
        /// 微信头像
        /// </summary>
        public string WxImage { get; set; }


        /// <summary>
        /// 注册来源
        /// </summary>
        public int Source { get; set; }
        /// <summary>
        /// 系统ID
        /// </summary>
        public int systemid { get; set; }
        /// <summary>
        /// 管理员手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 账号code
        /// </summary>
        public string ManagerCode { get; set; }

        /// <summary>
        /// 管理员姓名
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 电子邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 是否主管理员权限
        /// </summary>
        public int IsRoot { get; set; }

        public int SystemId { get; set; }

        public string Tags { get; set; }
    }
}