HKC_Blazor/MasaBlazorApp3/Pojo/SettingManu.cs

25 lines
675 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 LinqToDB.Mapping;
namespace MasaBlazorApp3.Pojo
{
//系统设置中的菜单
[Table("SettingManu")]
public class SettingManu
{
[PrimaryKey, Identity]
[Column("id")]
public int Id { get; set; }
[Column("Manu_Name")]
public string Name { get; set; }
[Column("Manu_Icon")]
public string Icon { get; set; }
[Column("Path")]
public string Path { get; set; }
//使用状态1在用0不在用
[Column("UseStatus")]
public int UseStatus { get; set; }
[Column(IsColumn = false)]
public List<SettingManu> Children { get; set; } = new();
}
}