using System;

namespace StandardScene.Signal.Model
{
    /// <summary>
    /// 迷毂数据中心把该字符串字段渲染成下拉。反射列定义时读取。
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public sealed class SignalSelectAttribute : Attribute
    {
        public SignalSelectAttribute(params string[] options)
        {
            Options = options ?? Array.Empty<string>();
        }

        public string[] Options { get; }
    }
}
