using System;
using System.Collections.Generic;

namespace DAL.New_Models;

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

    /// <summary>
    /// 父节点ID
    /// </summary>
    public int ParentId { get; set; }

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

    /// <summary>
    /// 英文名称
    /// </summary>
    public string? Ename { get; set; }

    public string? Twname { get; set; }

    /// <summary>
    /// 权限组
    /// </summary>
    public string? Url { get; set; }

    public string? Icon { get; set; }

    public bool IsMenu { get; set; }

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

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

    public bool IsLog { get; set; }

    public virtual ICollection<TbSysRole> Roles { get; set; } = new List<TbSysRole>();
}
