using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DH.RBAC.Models.Base
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class MenuControlAttribute : Attribute
    {
        public string ParentMenu { get; }  // 父菜单名称(如 "相机设置")
        public Type ConfigType { get; }    // 配置类型(如 CameraBase)

        public MenuControlAttribute(string parentMenu)
        {
            ParentMenu = parentMenu;
        }
    }
}