using Hncore.Infrastructure.WebApi;
using Hncore.Pass.Manage.Domain;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Hncore.Pass.Manage.Request   
{
    public class CreateManagerToPermissionRequest : RequestBase

    {
        /// <summary>
        /// 管理员id
        /// <summary>
        public int Id { get; set; }

        /// <summary>
        /// 创建时间
        /// <summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// <summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 删除标记
        /// <summary>
        public int DeleteTag { get; set; }

        /// <summary>
        /// 所属物业ID
        /// <summary>
        public int OwnerId { get; set; }

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

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

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

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

        /// <summary>
        /// 管理员手机号
        /// </summary>
        public string Phone { get; set; }
        
        /// <summary>
        /// 管理员姓名
        /// </summary>
        public string RealName { get; set; }


        /// <summary>
        /// 关联的内部人员id
        /// </summary>
        public int workerid { get; set; }


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

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





        /// <summary>
        /// 权限集合
        /// </summary>
        public List<ManagerToPermission> Permissions   ;


    }

 

}
