using System;
using System.Collections.Generic;

namespace DAL.New_Models;

public partial class TbSysRole
{
    public int Id { get; set; }

    public int? HotelId { get; set; }

    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// 排序
    /// </summary>
    public int Sort { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 启用
    /// </summary>
    public bool ActiveIndicator { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreatedBy { get; set; } = null!;

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

    /// <summary>
    /// 修改人
    /// </summary>
    public string ModifiedBy { get; set; } = null!;

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime ModifiedDate { get; set; }

    public int? SysHotelGroupId { get; set; }

    public virtual ICollection<TbSysUser> TbSysUsers { get; set; } = new List<TbSysUser>();

    public virtual ICollection<TbSysAuthority> Authorities { get; set; } = new List<TbSysAuthority>();
}
