using System;
using System.Collections.Generic;

namespace Model.Models
{
    /// <summary>
    /// 参数纯数据类（对应 UIShare.UIViewModel.ParameterModel）
    /// </summary>
    public class Parameter
    {
        public Guid ID { get; set; } = Guid.NewGuid();

        public bool IsVisible { get; set; } = true;

        public string? Name { get; set; }

        /// <summary>
        /// 类型全名（对应 ParameterModel.Type 的 FullName）
        /// </summary>
        public string? TypeName { get; set; }

        /// <summary>
        /// 参数类别（Input / Output / Temp）
        /// </summary>
        public string? Category { get; set; }


        public object? Value { get; set; }

        public object? LowerLimit { get; set; }

        public object? UpperLimit { get; set; }

        public bool Result { get; set; } = true;

        public bool IsUseVar { get; set; }


        public string? VariableName { get; set; }

        public Guid? VariableID { get; set; }
    }
}
