41 lines
1.0 KiB
C#
41 lines
1.0 KiB
C#
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_nRoleMenu", TableDescription = "角色菜单表", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
|
|
public class YB_nRoleMenu
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
public Guid Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 角色ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "角色ID")]
|
|
public Guid RoleId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 菜单ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "菜单ID")]
|
|
public Guid MenuId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "创建时间")]
|
|
public System.DateTime CreateTime { get; set; }
|
|
}
|
|
}
|