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.ComponentModel.DataAnnotations;
using Common.Enum;
using Entity.DbModel.System.SysBaseObject;
namespace Entity.Dto.Req
{
public class MenuReq
/// <summary>
/// 标题
/// </summary>
public string Title { get; set; } = "";
/// 菜单类型(1目录 2菜单 3按钮)
public MenuTypeEnum? Type { get; set; }
}
public class AddMenuReq : SysMenu
/// 名称
[Required(ErrorMessage = "菜单名称不能为空")]
public override string Title { get; set; }
public class UpdateMenuReq : AddMenuReq
public class DeleteMenuReq : BaseIdReq