You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
namespace NPin.Framework.Upms.Domain.Authorization;
|
|
|
|
|
|
|
|
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
|
|
|
public class PermissionAttribute: Attribute
|
|
|
|
|
{
|
|
|
|
|
internal string Code { get; set; }
|
|
|
|
|
|
|
|
|
|
public PermissionAttribute(string code)
|
|
|
|
|
{
|
|
|
|
|
Code = code;
|
|
|
|
|
}
|
|
|
|
|
}
|