using System.Collections.Generic;

namespace Siger.Middlelayer.TlmRepository.Response
{
    public class ResponseGetMatterInfo
    {
        public int tool_id { get; set; }
        public string matterCode { get; set; }

        public int matterType { get; set; }

        public string matterName { get; set; }

        public string matterOrder { get; set; }

        public string location { get; set; } = string.Empty;

        public string isAssembled { get; set; } = "0";

        public string assembHandle { get; set; } = string.Empty;

        public IList<DetailInfo> detailInfo { get; set; }

        public ResponseGetMatterInfo()
        {
            detailInfo = new List<DetailInfo>();
        }
    }

    public class DetailInfo
    {
        public string matterCode { get; set; }

        public int matterType { get; set; }

        public string matterName { get; set; }
        public int materialId { get; set; }

        public string matterOrder { get; set; }

        public string location { get; set; } = string.Empty;

        public string isAssembled { get; set; } = "0";

        public string assembHandle { get; set; }
        public string toolNumber { get; set; }
        public int toolId { get; set; }

    }
}
