MateLoadingTemplate.cs 3.3 KB
using System;
using System.Collections.Generic;
using System.Text;

namespace Hh.Mes.POJO.Entity
{
    /// <summary>
    /// 装料模板设置 表单提交 序列号类(主体 外部入口)
    /// </summary>
    public class MateLoadingTemplate
    {
        /// <summary>
        /// 
        /// </summary>
        public Head head { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Body body { get; set; }
    }

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

        public Guid keys { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string WcsProductType { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public int loadQty { get; set; }
    }


    public class Body
    {
        /// <summary>
        /// 
        /// </summary>
        public List<AItem> a { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<BItem> b { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<CItem> c { get; set; }
    }

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

        public Guid bodyKeys { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int sequence { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string materialCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string row { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string line { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string layer { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string qty { get; set; }
    }

    public class BItem
    {
        public int id { get; set; }
        public Guid bodyKeys { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int sequence { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string materialCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string row { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string line { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string layer { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string qty { get; set; }
    }

    public class CItem
    {
        public int id { get; set; }
        public Guid bodyKeys { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int sequence { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string materialCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string row { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string line { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string layer { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string qty { get; set; }
    }
}