using Microsoft.AspNetCore.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloudBuilder.Core.Authorization
{
    public class TypeScriptAttribute : Attribute
    {
        public TypeScriptAttribute()
        {
        }

        public TypeScriptAttribute(string name)
        {
            Name = name;
        }

        /// <summary>
        /// 获取权限名称
        /// </summary>
        public string Name { get; private set; } = null!;

    }

}
