2025-06-24 20:48:38 +08:00
|
|
|
using SqlSugar;
|
|
|
|
|
|
2025-07-18 22:21:16 +08:00
|
|
|
namespace DMS.Infrastructure.Entities;
|
2025-06-24 20:48:38 +08:00
|
|
|
|
2025-07-21 14:35:17 +08:00
|
|
|
[SugarTable("Menus")]
|
2025-06-24 20:48:38 +08:00
|
|
|
public class DbMenu
|
|
|
|
|
{
|
2025-07-03 13:17:25 +08:00
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
2025-07-21 14:35:17 +08:00
|
|
|
[SugarColumn(IsNullable = true)]
|
|
|
|
|
public int? ParentId { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Header { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Icon { get; set; }
|
|
|
|
|
|
|
|
|
|
public string TargetViewKey { get; set; }
|
|
|
|
|
|
|
|
|
|
[SugarColumn(IsNullable = true)]
|
|
|
|
|
public string NavigationParameter { get; set; }
|
|
|
|
|
public List<DbMenu> Childrens { get; set; }
|
|
|
|
|
|
|
|
|
|
public int DisplayOrder { get; set; }
|
2025-06-24 20:48:38 +08:00
|
|
|
}
|