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

namespace Siger.Middlelayer.CncRepository.Response
{
    public class ResponseAllPassProductReport
    {
        /// <summary>
        /// productReport_id
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 工位
        /// </summary>
        public int machineId { get; set; }
        /// <summary>
        /// 工位名称
        /// </summary>
        public string machineTitle { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string ordernumber { get; set; }
        /// <summary>
        /// 图纸号
        /// </summary>
        public string drawcode { get; set; }
        /// <summary>
        /// 工单号
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 工令单
        /// </summary>
        public string gonglingdan { get; set; }

        /// <summary>
        /// 生产执行人工号
        /// </summary>
        public string worker_code { get; set; } = string.Empty;

        /// <summary>
        /// 生产执行人姓名
        /// </summary>
        public string worker_name { get; set; } = string.Empty;

        public int user_mid { get; set; }

        public int product_id { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string product_name { get; set; } = string.Empty;

        public string workgroup_name { get; set; }

        /// <summary>
        /// 实际产出
        /// </summary>
        public int actual_output { get; set; }
        public int ngcount { get; set; }
        /// <summary>
        /// 额定工时
        /// </summary>
        public double working_hour { get; set; }

        /// <summary>
        /// 准备工时
        /// </summary>
        public double prepare { get; set; }
        /// <summary>
        /// 报工时间
        /// </summary>
        public int time { get; set; }
        /// <summary>
        /// 工序ID
        /// </summary>
        public int route_id { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string route_name { get; set; }

        public int approval_status { get; set; }
    }
}
