using Siger.Middlelayer.Common.ModuleEnum;
using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.CncRepository.Entities
{
    public class siger_project_product_plan_change_record : CncEntityBase
    {
		/// <summary>
		/// 项目id
		/// </summary>
		public int projectid { get; set; }
		/// <summary>
		/// _plan表的id
		/// </summary>
		public int plan_id { get; set; }
		/// <summary>
		/// 订单号
		/// </summary>
		public string ordernumber { get; set; }
		/// <summary>
		/// 工单号
		/// </summary>
		public string code { get; set; }
		/// <summary>
		/// 产品名称
		/// </summary>
		public string product_name { get; set; }
		/// <summary>
		/// 产品编号
		/// </summary>
		public string product_code { get; set; }
		/// <summary>
		/// 图纸号
		/// </summary>
		public string draw_number { get; set; }
		/// <summary>
		/// 工单类型
		/// </summary>
		public int workordertype { get; set; }
		/// <summary>
		/// 订单数量
		/// </summary>
		public int quantity { get; set; }
		/// <summary>
		/// 工单数量
		/// </summary>
		public int install_count { get; set; } = 0;
		/// <summary>
		/// 交货期
		/// </summary>
		public int delivery_time { get; set; }
		/// <summary>
		/// 变更项目
		/// </summary>
		public PlanChange change_project { get; set; }
		/// <summary>
		/// 变更前
		/// </summary>
		public string change_before { get; set; }
		/// <summary>
		/// 变更后
		/// </summary>
		public string change_after { get; set; }
		/// <summary>
		/// 1=&gt;待审核；2=&gt;已审核；3=审核不通过
		/// </summary>
		public int audit_state { get; set; }
		/// <summary>
		/// 变更时间
		/// </summary>
		public int change_time { get; set; }
	}
}
