IReceiptModel.cs 2.87 KB
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 入库接口单头
	/// </summary>
    public partial class IReceiptModel
    {
        /// <summary>
        /// 账套
        /// </summary>
        public string Organization { get; set; }

        /// <summary>
        /// 任务类型
        /// </summary>
        public TaskTypeEnum TaskType { get; set; }

        /// <summary>
        /// 任务号
        /// </summary>
        public string TaskNumber { get; set; }
        /// <summary>
        /// 工单
        /// </summary>
        public string MO { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string PN { get; set; }

        /// <summary>
        /// 调拨单别
        /// </summary>
        public string ErpListType { get; set; }

        /// <summary>
        /// 供应商代码
        /// </summary>
        public string Supllier { get; set; }

        /// <summary>
        /// 入库仓
        /// </summary>
        public string WH { get; set; }

        /// <summary>
        /// 入库仓储位
        /// </summary>
        public string WHSL { get; set; }

        /// <summary>
        /// 线边仓
        /// </summary>
        public string LWH { get; set; }

        /// <summary>
        /// 线边仓储位
        /// </summary>
        public string LWHSL { get; set; }

        /// <summary>
        /// 等级判定(A级,B级,E级)
        /// </summary>
        public string Grade { get; set; }

        /// <summary>
        /// 处理意见(0:良品,1:不良品,2:特采)
        /// </summary>
        public string Result { get; set; }

        /// <summary>
        /// 托盘
        /// </summary>
        public string Tray { get; set; }

        /// <summary>
        /// 预留字段1
        /// </summary>
        public string Attribute1 { get; set; }

        /// <summary>
        /// 预留字段2
        /// </summary>
        public string Attribute2 { get; set; }

        /// <summary>
        /// 预留字段3
        /// </summary>
        public string Attribute3 { get; set; }

        /// <summary>
        /// 入库接口单身
        /// </summary>
        public List<IReceiptDetailModel> stockInDetails;
    }
    /// <summary>
	/// 入库接口单身
	/// </summary>
    public partial class IReceiptDetailModel
    {
        /// <summary>
        /// 物料批次
        /// </summary>
        public string Lot { get; set; }

        /// <summary>
        /// 条码
        /// </summary>
        public string Barcode { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Uom { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public decimal Quantity { get; set; }

        
    }
}