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.

21 lines
594 B

using System.Collections.Generic;
using CellularManagement.Domain.Common;
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>();
}