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

namespace ICSSoft.Entity
{
    /// <summary>
    /// 采购订单
    /// </summary>
   public  class ERPPurchaseOrder
    {
        /// <summary>
        /// 供应商编码
        /// </summary>
        public string VenCode { get; set; }
      
        /// <summary>
        /// 采购订单号
        /// </summary>
        public string POCode { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string User { get; set; }
        public string UpdateTodoQuantity { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public string  MTime { get; set; }

        /// <summary>
        /// 出库
        /// </summary>

        public string WHCode { get; set; }
        /// <summary>
        /// 到货单号
        /// </summary>

        public string DNCode { get; set; }


        /// <summary>
        /// 委外到货单
        /// </summary>
        public string ODNCode { get; set; }
        /// <summary>
        /// /委外
        /// </summary>
        public string OOCode { get; set; }

        public List<ERPPurchaseOrderList> details { get; set; }
    }
    public class ERPPurchaseOrderList
    {
        /// <summary>
        /// 行号
        /// </summary>
        public string Sequence { get; set; }
        /// <summary>
        /// 料品编码
        /// </summary>
        public string InvCode { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string Quantity { get; set; }
        /// <summary>
        /// 辅计量数量
        /// </summary>
        public string Amount { get; set; }
        /// <summary>
        /// 币种
        /// </summary>
        public string Currency { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public string UnitPrice { get; set; }
        /// <summary>
        /// 到货单表体ID
        /// </summary>

        public string DNDetailID { get; set; }

        /// <summary>
        /// 订单表体ID
        /// </summary>
         public string PODetailID { get; set; }


        /// <summary>
        /// 委外表头
        /// </summary>

        public string OOID { get; set; }
        /// <summary>
        /// 委外表体
        /// </summary>
        public string OODetailID { get; set; }


    }
}