You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.3 KiB
61 lines
1.3 KiB
1 year ago
|
using System;
|
||
|
using Volo.Abp;
|
||
|
using Volo.Abp.Domain.Entities.Auditing;
|
||
|
using Volo.Abp.MultiTenancy;
|
||
|
|
||
|
namespace BaseService.Systems
|
||
|
{
|
||
|
public class Menu : AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
|
||
|
{
|
||
|
public Guid? TenantId { get; set; }
|
||
|
|
||
|
public Guid? FormId { get; set; }
|
||
|
|
||
|
public Guid? Pid { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 菜单类型
|
||
|
/// </summary>
|
||
|
public int CategoryId { get; set; }
|
||
|
|
||
|
public string Name { get; set; }
|
||
|
|
||
|
|
||
|
|
||
|
public string Label { get; set; }
|
||
|
|
||
|
public int Sort { get; set; }
|
||
|
|
||
|
public string Path { get; set; }
|
||
|
|
||
|
public string Component { get; set; }
|
||
|
|
||
|
public string Permission { get; set; }
|
||
|
|
||
|
public string Icon { get; set; }
|
||
|
|
||
|
public bool Hidden { get; set; }
|
||
|
|
||
|
public bool AlwaysShow { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 是否宿主菜单,if(TenantId!=null&&IsHost==true):停用租户菜单
|
||
|
/// </summary>
|
||
|
public bool IsHost { get; set; }
|
||
|
|
||
|
public bool IsDeleted { get; set; }
|
||
|
|
||
|
#region >适配vue3<
|
||
|
public string Title { get; set; }
|
||
|
|
||
|
public bool IsAffix { get; set; }
|
||
|
|
||
|
#endregion
|
||
|
|
||
|
public Menu(Guid id) : base(id)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|