using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YBDevice.Entity
{
    /// <summary>
    /// 角色按钮
    /// </summary>
    [SugarTable("YB_nRoleAction", TableDescription = "角色按钮", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
    public class YB_nRoleAction
    {

        /// <summary>
        /// 角色ID
        /// </summary>
        [SugarColumn(ColumnDescription = "角色ID", IndexGroupNameList = new string[] { "index_roleid" })]
        public Guid RoleId { get; set; }

        /// <summary>
        /// 菜单ID
        /// </summary>
        [SugarColumn(ColumnDescription = "菜单ID")]
        public Guid MenuId { get; set; }

        /// <summary>
        /// 按钮ID
        /// </summary>
        [SugarColumn(ColumnDescription = "按钮ID")]
        public Guid ButtonId { get; set; }
    }
}
