first commit
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
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<MenuDto> 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;
|
||||
}
|
||||
Reference in New Issue
Block a user