using System.Collections.Generic;
using System.ComponentModel;

namespace QC.QTMInterface.Business_Objects;

public class TestCaseStep
{
	[ReadOnly(true)]
	[Browsable(false)]
	public long ID { get; set; }

	[ReadOnly(true)]
	public string Name { get; set; }

	[ReadOnly(true)]
	public string RealName { get; set; }

	[ReadOnly(true)]
	public string DLLPath { get; set; }

	[ReadOnly(true)]
	public string DLLVersion { get; set; }

	[ReadOnly(true)]
	public string TestPathWithinDll { get; set; }

	[ReadOnly(true)]
	[Browsable(false)]
	public string Type { get; set; }

	[ReadOnly(true)]
	[Browsable(false)]
	public bool IsSetup { get; set; }

	[Browsable(false)]
	[ReadOnly(true)]
	public bool IsTearDown { get; set; }

	[ReadOnly(true)]
	[Browsable(false)]
	public long TCByVerRID { get; set; }

	public string Info => (Type ?? "") + (IsSetup ? " Setup" : "") + (IsTearDown ? " Teardown" : "");

	[Browsable(false)]
	public List<TestParameter> Parameters { get; set; }
}
