Infrastructure/OpenAuth.App/Relevance/Request/AssignReq.cs

18 lines
578 B
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

namespace OpenAuth.App.Request
{
/// <summary>
/// 比如给用户分配资源那么firstId就是用户IDsecIds就是资源ID列表
/// </summary>
public class AssignReq
{
/// <summary>
/// 分配的关键字比如UserRole
/// </summary>
public string type { get; set; }
/// <summary>
/// 比如给用户分配角色那么firstId就是用户IDsecIds就是角色ID列表
/// </summary>
public string firstId { get; set; }
public string[] secIds { get; set; }
}
}