using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.AccRepository.Response
{
    public class ResponseFixtureToolsCategory
    {
        public int id { get; set; }

        public string name { get; set; }

        public int parentid { get; set; }

        public string parentname { get; set; }

        public string guid { get; set; }

        public string parent { get; set; }

        public DateTime time { get; set; }
        public string createtime { get; set; }

        public string updatetime { get; set; }

        public string extend1 { get; set; }
    }

    public class ResponseFixtureTools
    {
        public int id { get; set; }
        public string guid { get; set; }
        public string cate_guid { get; set; }
        /// <summary>
        /// 工装类别ID
        /// </summary>
        public int categoryid { get; set; }
        /// <summary>
        /// 工装类别名称
        /// </summary>
        public string category { get; set; }
        /// <summary>
        /// 管理类型
        /// </summary>
        public int managetype { get; set; }
        /// <summary>
        /// 工装料号
        /// </summary>
        public string partnumber { get; set; }
        /// <summary>
        /// 工装名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string specification { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int number { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 附件
        /// </summary>
        public string fileurl { get; set; }
        public string filename { get; set; }
        /// <summary>
        /// 工装编号
        /// </summary>
        public string code { get; set; }

        public string updator { get; set; }

        public int status { get; set; }

        public string updatetime { get; set; }

        public List<int> categoryids { get; set; } = new List<int>();
    }


    public class ResponseAumationFixtureToolsProduct
    {
        public int id { get; set; }
        public int categoryid { get; set; }
        public string categoryname { get; set; }
        /// <summary>
        /// 工装ID
        /// </summary>
        public int fixturetoolid { get; set; }
        public string fixturetool { get; set; }
        public string partnumber { get; set; }
        public string specfication { get; set; }
        /// <summary>
        /// 产品ID
        /// </summary>
        public int productid { get; set; }
        public string productname { get; set; }
        public string productcode { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }

        public string updator { get; set; }

        public string updatetime { get; set; }
        public string fileurl { get; set; }
        public string filename { get; set; }

        public string cate_guid { get; set; }

        public List<int> categoryids { get; set; } = new List<int>();
    }

    public class ResponseAumationFixtureToolsAssembly
    {
        public int id { get; set; }
        public int parentid { get; set; }
        public string parentname { get; set; }
        public int categoryid { get; set; }
        public string category { get; set; }
        public int fixturetoolid { get; set; }
        public string partnumber { get; set; }
        public string name { get; set; }
        public string specfication { get; set; }
        public string code { get; set; }
        public string updator { get; set; }
        public string updatetime { get; set; }
        public int status { get; set; }
        public string fileurl { get; set; }
        public string filename { get; set; }

        public string parentcate_guid { get; set; }        
        public List<int> parentcategoryids { get; set; } = new List<int>();
        public string cate_guid { get; set; }
        public List<int> categoryids { get; set; } = new List<int>();
        public int parentcategoryid { get; set; }

        public string parentguid { get; set; }

        public string fixtureguid { get; set; }

        public List<ResponseAumationFixtureToolsAssembly> childrens { get; set; }

        public string remark { get; set; }

        public string parentcategory { get; set; }
        public string parentpartnumber { get; set; }
        public string parentspecfication { get; set; }
        public string parentcode { get; set; }
    }

    public class ResponseAumationFixtureToolsAssemblys : ResponseAumationFixtureToolsAssembly
    {
        public string son_code { get; set; }
        public string son_name { get; set; }
        public int son_categoryid { get; set; }
        public int son_status { get; set; }
    }
}
