tuiwucarrer/Admin.NET/Admin.NET.Core/Entity/CePing/BusCustomMenus.cs

55 lines
1.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.NET.Core
{
/// <summary>
/// 学生菜单
/// </summary>
[SugarTable("bus_custom_menus", "学生菜单")]
public class BusCustomMenus : DEntitySortTenant
{
/// <summary>
/// 根菜单(目前学生限定两级)
/// </summary>
[SugarColumn(ColumnDescription = "根菜单")]
public virtual long RootId { get; set; }
/// <summary>
/// 内部链接01外部链接
/// </summary>
[SugarColumn(ColumnDescription = "链接类型")]
public int UrlType { get; set; } = 0;
/// <summary>
/// 菜单名称
/// </summary>
[SugarColumn(ColumnDescription = "菜单名称")]
[Required, MaxLength(100)]
public string MenuName { get; set; }
/// <summary>
/// 菜单icon
/// </summary>
[SugarColumn(ColumnDescription = "菜单icon")]
[Required, MaxLength(100)]
public string Icon { get; set; }
/// <summary>
/// 路由地址
/// </summary>
///
[SugarColumn(ColumnDescription = "路由地址")]
[Required, MaxLength(400)]
public string Url { get; set; }
}
}