using Siger.Middlelayer.Repository.Response;
using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.QmsRepository.Response
{
    public class ResponseSendTestParameter
    {
        public int id { get; set; }
        public int section_id { get; set; }

        public string section_name { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public int serial_number { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 是否必填 1必填 2非必填
        /// </summary>
        public int is_required { get; set; }

        /// <summary>
        /// 参数类型，1 输入框 2单选框
        /// </summary>
        public int category { get; set; }

        /// <summary>
        /// 参数类型 跟字典表的SendTestParameter关联
        /// </summary>
        public string parameters { get; set; }

        public string parameter_names { get; set; }

        public int update_mid { get; set; }

        public string updator{ get; set; }

        public string update_time { get; set; }
    }

    public class ResponseTestParameter
    {
        public int id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 是否必填 1必填 2非必填
        /// </summary>
        public int is_required { get; set; }

        /// <summary>
        /// 参数类型，1 输入框 2单选框
        /// </summary>
        public int category { get; set; }

        /// <summary>
        /// 参数类型 跟字典表的SendTestParameter关联
        /// </summary>
        public List<ResponseKeyValue> parameters { get; set; } = new List<ResponseKeyValue>();
    }
}
