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

namespace Siger.Middlelayer.CncRepository.Entities
{
    /// <summary>
    /// 计划内派工
    /// </summary>
    public class siger_project_product_plan_dispatch : CncEntityBase
    {
		/// <summary>
		/// 
		/// </summary>
		public int projectid { get; set; }
		/// <summary>
		/// plan表id
		/// </summary>
		public int plan_id { get; set; }
		/// <summary>
		/// 产品表id
		/// </summary>
		public int product_id { get; set; }
		/// <summary>
		/// 产品名称
		/// </summary>
		public string product_name { get; set; }
		/// <summary>
		/// 产品编号
		/// </summary>
		public string product_code { get; set; }
		/// <summary>
		/// 订单号
		/// </summary>
		public string ordernumber { get; set; }
		/// <summary>
		/// 工单号
		/// </summary>
		public string code { get; set; }
		/// <summary>
		/// 工单数量
		/// </summary>
		public int producted_number { get; set; }
		/// <summary>
		/// 图纸号
		/// </summary>
		public string draw_number { get; set; }
		/// <summary>
		/// 订单数量
		/// </summary>
		public int quantity { get; set; }
		/// <summary>
		/// 已排产数量
		/// </summary>
		public int scheduled_quantity { get; set; }
		/// <summary>
		/// 交付日期
		/// </summary>
		public int delivery_time { get; set; }
		/// <summary>
		/// 工单状态:1=未下发(生产计划使用);2=未排产；3=已派工；4=生产中；5=已完工；6=已终止
		/// </summary>
		public string workorder_status { get; set; }
		/// <summary>
		/// 计划开始时间
		/// </summary>
		public int plan_starttime { get; set; }
		/// <summary>
		/// 计划结束时间
		/// </summary>
		public int plan_endtime { get; set; }
		/// <summary>
		/// 实际完成时间
		/// </summary>
		public int actual_completiontime { get; set; }
		/// <summary>
		/// OK数量
		/// </summary>
		public int ok_number { get; set; }
		/// <summary>
		/// NOK数量
		/// </summary>
		public int nok_number { get; set; }
		/// <summary>
		/// 批数
		/// </summary>
		public int batches_number { get; set; }
		/// <summary>
		/// 新增时间
		/// </summary>
		public int create_time { get; set; }
	}
}
