Files
DMS/DMS.Core/Models/MenuBean.cs

25 lines
702 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using DMS.Core.Enums;
namespace DMS.Core.Models;
/// <summary>
/// 领域模型:代表一个菜单项。
/// </summary>
public class MenuBean
{
public int Id { get; set; }
public int? ParentId { get; set; }
public string Header { get; set; }
public string Icon { get; set; }
/// <summary>
/// 菜单的类型,例如菜单关联的是设备还是变量表或者是MQTT
/// </summary>
public MenuType MenuType { get; set; }
/// <summary>
/// 菜单关联的数据ID例如设备Id变量表Id
/// </summary>
public int TargetId { get; set; }
public string NavigationParameter { get; set; }
public int DisplayOrder { get; set; }
}