TotalModel.cs 1.67 KB
using Hh.Mes.POJO.Entity;
using System;
using System.Collections.Generic;
using System.Text;

namespace Hh.Mes.POJO.ViewModel
{
    public class TotalModel
    {
        /// <summary>
        /// 套料头表
        /// </summary>
        public bus_cutplan_head cutplanHead { get; set; }

        /// <summary>
        /// 套料明细List
        /// </summary>
        public List<bus_cutplan_detail> planDetailList { get; set; } = new List<bus_cutplan_detail>();

        /// <summary>
        /// 利用率
        /// </summary>
        public string Percentage { get; set; }
    }

    public class TotalData
    {

        /// <summary>
        /// 工单头表
        /// </summary>
        public List<bus_workOrder_head> workOrderheadList { get; set; } = new List<bus_workOrder_head>();

        /// <summary>
        /// 工单明细List
        /// </summary>
        public List<bus_workOrder_detail> workOrderDetailList { get; set; } = new List<bus_workOrder_detail>();

        /// <summary>
        /// 套料结果
        /// </summary>
        public List<TotalModel> totalModel { get; set; } = new List<TotalModel>();

        /// <summary>
        /// 未套料工单头表
        /// </summary>
        public List<bus_workOrder_head> notWorkOrderheadList { get; set; } = new List<bus_workOrder_head>();

        /// <summary>
        /// 未套料工单明细
        /// </summary>
        public List<bus_workOrder_detail> notWorkOrderDetailList { get; set; } = new List<bus_workOrder_detail>();

        /// <summary>
        /// 未使用库存
        /// </summary>
        public List<base_inventory> notInventoryList { get; set; }=new List<base_inventory>();
    }

}