using System;
using Hncore.Infrastructure.DDD;

namespace Hncore.Pass.Manage.Domain
{
    /// <summary>
    /// 管理员项目映射实体模型类
    /// </summary>
    ///
    public class AuthorityManagerDataDomain : AggregateRoot<int>, ITenant
    {
        /// <summary>
        /// 楼宇ID
        /// <summary>
        public override int Id { get; set; }

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

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

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

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

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

        /// <summary>
        /// 软删除标记，0.代表正常，1.代表已删除
        /// <summary>
        public int DeleteTag { get; set; }

        /// <summary>
        /// 管理员数据库ID
        /// </summary>
        public int ManagerId { get; set; }

        /// <summary>
        /// 项目编码
        /// </summary>
        public int ProjectCode { get; set; }
    }
}