chore: 构建稳定版本

This commit is contained in:
陈淳
2023-12-11 09:55:12 +08:00
parent 098d4bc85f
commit 769a6a9c63
756 changed files with 10431 additions and 19867 deletions

View File

@@ -0,0 +1,13 @@
using System.ComponentModel.DataAnnotations;
namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Role
{
public class RoleAuthUserCreateOrDeleteInput
{
[Required]
public Guid RoleId { get; set; }
[Required]
public List<Guid> UserIds { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
using Volo.Abp.Application.Dtos;
namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Role
{
public class RoleAuthUserGetListInput : PagedAndSortedResultRequestDto
{
public string? UserName { get; set; }
public long? Phone { get; set; }
}
}

View File

@@ -0,0 +1,22 @@
using Yi.Framework.Rbac.Domain.Shared.Enums;
namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Role
{
/// <summary>
/// Role输入创建对象
/// </summary>
public class RoleCreateInputVo
{
public string? RoleName { get; set; }
public string? RoleCode { get; set; }
public string? Remark { get; set; }
public DataScopeEnum DataScope { get; set; } = DataScopeEnum.ALL;
public bool State { get; set; } = true;
public int OrderNum { get; set; }
public List<Guid> DeptIds { get; set; }
public List<Guid> MenuIds { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using Yi.Framework.Ddd;
using Yi.Framework.Ddd.Application.Contracts;
namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Role
{
public class RoleGetListInputVo : PagedAllResultRequestDto
{
public string? RoleName { get; set; }
public string? RoleCode { get; set; }
public bool? State { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using Volo.Abp.Application.Dtos;
using Yi.Framework.Rbac.Domain.Shared.Enums;
namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Role
{
public class RoleGetListOutputDto : EntityDto<Guid>
{
public DateTime CreationTime { get; set; } = DateTime.Now;
public Guid? CreatorId { get; set; }
public string? RoleName { get; set; }
public string? RoleCode { get; set; }
public string? Remark { get; set; }
public DataScopeEnum DataScope { get; set; } = DataScopeEnum.ALL;
public bool State { get; set; }
public int OrderNum { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using Volo.Abp.Application.Dtos;
using Yi.Framework.Rbac.Domain.Shared.Enums;
namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Role
{
public class RoleGetOutputDto : EntityDto<Guid>
{
public DateTime CreationTime { get; set; } = DateTime.Now;
public Guid? CreatorId { get; set; }
public string? RoleName { get; set; }
public string? RoleCode { get; set; }
public string? Remark { get; set; }
public DataScopeEnum DataScope { get; set; } = DataScopeEnum.ALL;
public bool State { get; set; }
public int OrderNum { get; set; }
}
}

View File

@@ -0,0 +1,19 @@
using Yi.Framework.Rbac.Domain.Shared.Enums;
namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Role
{
public class RoleUpdateInputVo
{
public string? RoleName { get; set; }
public string? RoleCode { get; set; }
public string? Remark { get; set; }
public DataScopeEnum DataScope { get; set; } = DataScopeEnum.ALL;
public bool State { get; set; }
public int OrderNum { get; set; }
public List<Guid>? DeptIds { get; set; }
public List<Guid>? MenuIds { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
using Yi.Framework.Rbac.Domain.Shared.Enums;
namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Role
{
public class UpdateDataScpoceInput
{
public Guid RoleId { get; set; }
public List<Guid>? DeptIds { get; set; }
public DataScopeEnum DataScope { get; set; }
}
}