You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
520 B

using MediatR;
namespace CellularManagement.Application.Features.RolePermissions.Commands.AddRolePermissions;
/// <summary>
/// 添加角色权限命令
/// </summary>
public class AddRolePermissionsCommand : IRequest<OperationResult<AddRolePermissionsResponse>>
{
/// <summary>
/// 角色ID
/// </summary>
public string RoleId { get; set; } = string.Empty;
/// <summary>
/// 权限ID列表
/// </summary>
public IEnumerable<string> PermissionIds { get; set; } = new List<string>();
}