using RobotNet.Script.Shares;

namespace RobotNet.WebApp.Scripts.Models;

public class ScriptVariableModel(int index, ScriptVariableDto variableDto)
{
    public int Index { get; } = index;
    public string Name { get; } = variableDto.Name;
    public string TypeName { get; } = variableDto.TypeName;
    public string Value { get; } = variableDto.Value;
}
