feat:全基础流程跑通

This commit is contained in:
橙子
2023-04-15 22:44:33 +08:00
parent 9b1a978cb5
commit 1655870d4d
151 changed files with 3120 additions and 209 deletions

View File

@@ -0,0 +1,28 @@
using System;
using Yi.Furion.Core.Rbac.Enums;
namespace Yi.Furion.Core.Rbac.Dtos.Menu
{
/// <summary>
/// Menu输入创建对象
/// </summary>
public class MenuCreateInputVo
{
public long Id { get; set; }
public DateTime CreationTime { get; set; } = DateTime.Now;
public long? CreatorId { get; set; }
public bool State { get; set; }
public string MenuName { get; set; } = string.Empty;
public MenuTypeEnum MenuType { get; set; } = MenuTypeEnum.Menu;
public string PermissionCode { get; set; }
public long ParentId { get; set; }
public string MenuIcon { get; set; }
public string Router { get; set; }
public bool IsLink { get; set; }
public bool IsCache { get; set; }
public bool IsShow { get; set; } = true;
public string Remark { get; set; }
public string Component { get; set; }
public string Query { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
using Yi.Framework.Infrastructure.Ddd.Dtos;
namespace Yi.Furion.Core.Rbac.Dtos.Menu
{
public class MenuGetListInputVo : PagedAndSortedResultRequestDto
{
public bool? State { get; set; }
public string MenuName { get; set; }
}
}

View File

@@ -0,0 +1,29 @@
using System;
using Yi.Framework.Infrastructure.Ddd.Dtos.Abstract;
using Yi.Furion.Core.Rbac.Enums;
namespace Yi.Furion.Core.Rbac.Dtos.Menu
{
public class MenuGetListOutputDto : IEntityDto<long>
{
public long Id { get; set; }
public DateTime CreationTime { get; set; } = DateTime.Now;
public long? CreatorId { get; set; }
public bool State { get; set; }
public string MenuName { get; set; } = string.Empty;
public MenuTypeEnum MenuType { get; set; } = MenuTypeEnum.Menu;
public string PermissionCode { get; set; }
public long ParentId { get; set; }
public string MenuIcon { get; set; }
public string Router { get; set; }
public bool IsLink { get; set; }
public bool IsCache { get; set; }
public bool IsShow { get; set; } = true;
public string Remark { get; set; }
public string Component { get; set; }
public string Query { get; set; }
public int OrderNum { get; set; }
//public List<MenuEntity>? Children { get; set; }
}
}

View File

@@ -0,0 +1,30 @@
using System;
using Yi.Framework.Infrastructure.Ddd.Dtos.Abstract;
using Yi.Furion.Core.Rbac.Enums;
namespace Yi.Furion.Core.Rbac.Dtos.Menu
{
public class MenuGetOutputDto : IEntityDto<long>
{
public long Id { get; set; }
public DateTime CreationTime { get; set; } = DateTime.Now;
public long? CreatorId { get; set; }
public bool State { get; set; }
public string MenuName { get; set; } = string.Empty;
public MenuTypeEnum MenuType { get; set; } = MenuTypeEnum.Menu;
public string PermissionCode { get; set; }
public long ParentId { get; set; }
public string MenuIcon { get; set; }
public string Router { get; set; }
public bool IsLink { get; set; }
public bool IsCache { get; set; }
public bool IsShow { get; set; } = true;
public string Remark { get; set; }
public string Component { get; set; }
public string Query { get; set; }
public int OrderNum { get; set; }
//public List<MenuEntity>? Children { get; set; }
}
}

View File

@@ -0,0 +1,26 @@
using System;
using Yi.Furion.Core.Rbac.Enums;
namespace Yi.Furion.Core.Rbac.Dtos.Menu
{
public class MenuUpdateInputVo
{
public long Id { get; set; }
public DateTime CreationTime { get; set; } = DateTime.Now;
public long? CreatorId { get; set; }
public bool State { get; set; }
public string MenuName { get; set; } = string.Empty;
public MenuTypeEnum MenuType { get; set; } = MenuTypeEnum.Menu;
public string PermissionCode { get; set; }
public long ParentId { get; set; }
public string MenuIcon { get; set; }
public string Router { get; set; }
public bool IsLink { get; set; }
public bool IsCache { get; set; }
public bool IsShow { get; set; } = true;
public string Remark { get; set; }
public string Component { get; set; }
public string Query { get; set; }
//public List<MenuEntity>? Children { get; set; }
}
}