RbacMenuCreateInputVo.cs
709 Bytes
namespace FoodLabeling.Application.Contracts.Dtos.RbacMenu;
/// <summary>
/// 新增权限(Menu)入参(美国版对外)
/// </summary>
public class RbacMenuCreateInputVo
{
public string MenuName { get; set; } = string.Empty;
/// <summary>
/// 父级ID(menu 表为字符串ID,可能是数字;根节点默认 0)
/// </summary>
public string ParentId { get; set; } = "0";
public int MenuType { get; set; }
public int MenuSource { get; set; }
public string? PermissionCode { get; set; }
public string? Router { get; set; }
public string? Component { get; set; }
public int OrderNum { get; set; } = 0;
public bool State { get; set; } = true;
}