namespace F9WebAiTest.Application.Dtos; public class MenuDto { public long Id { get; set; } public long? ParentId { get; set; } public string Name { get; set; } public string Type { get; set; } public string Path { get; set; } public string Component { get; set; } public string Icon { get; set; } public string Permission { get; set; } public int Sort { get; set; } public int Status { get; set; } public List Children { get; set; } = new(); } public class CreateMenuDto { public long? ParentId { get; set; } public string Name { get; set; } public string Type { get; set; } = "menu"; public string Path { get; set; } = ""; public string Component { get; set; } = ""; public string Icon { get; set; } = ""; public string Permission { get; set; } = ""; public int Sort { get; set; } } public class UpdateMenuDto { public long? ParentId { get; set; } public string Name { get; set; } public string Type { get; set; } = "menu"; public string Path { get; set; } = ""; public string Component { get; set; } = ""; public string Icon { get; set; } = ""; public string Permission { get; set; } = ""; public int Sort { get; set; } public int Status { get; set; } = 1; }