OrderInterface.cs 3.34 KB
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HHECS.Model.Entities
{
    /// <summary>
    /// 工单,对应原始接口表字段
    /// </summary>
    public class OrderInterface
    {
        /// <summary>
        /// 工单号
        /// </summary>
        [Key]
        public string AUFNR { get; set; }

        /// <summary>
        /// 工单类型
        /// </summary>
        public string AUART { get; set; }

        /// <summary>
        /// 物料号
        /// </summary>
        public string MATNR { get; set; }

        /// <summary>
        /// 物料描述
        /// </summary>
        public string MAKTX { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int PSMNG { get; set; }

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

        /// <summary>
        /// 工作中心
        /// </summary>
        public string ARBPL { get; set; }

        /// <summary>
        /// Personresposible
        /// </summary>
        public string VERAN { get; set; }

        /// <summary>
        /// 基础开始日期
        /// </summary>
        public DateTime GSTRP { get; set; }

        /// <summary>
        /// 组件-空瓶物料号
        /// </summary>
        public string MATNR2 { get; set; }

        /// <summary>
        /// 组件-空瓶物料描述
        /// </summary>
        public string MAKTX2 { get; set; }

        /// <summary>
        /// 组件-空瓶数量
        /// </summary>
        public int PSMNG2 { get; set; }

        /// <summary>
        /// 组件-空瓶单位
        /// </summary>
        public string AMEIN2 { get; set; }

        /// <summary>
        /// 板头纸-SO号
        /// </summary>
        public string KDAUF { get; set; }

        /// <summary>
        /// 板头纸-SOItem
        /// </summary>
        public string KDPOS { get; set; }

        /// <summary>
        /// 板头纸-FG 收货库存地点
        /// </summary>
        public string LGORT { get; set; }

        /// <summary>
        /// 板头纸-Sold To Party
        /// </summary>
        public string KUNAG { get; set; }

        /// <summary>
        /// 板头纸-Ship to Party
        /// </summary>
        public string KUNNR { get; set; }

        /// <summary>
        /// 板头纸-每层数量
        /// </summary>
        public int PLPER { get; set; }

        /// <summary>
        /// 板头纸-每板层数
        /// </summary>
        public int PLODD { get; set; }

        /// <summary>
        /// 板头纸-每板数量
        /// </summary>
        public int PLQTY { get; set; }

        /// <summary>
        /// 板头纸-PO号
        /// </summary>
        public string EBELN { get; set; }

        /// <summary>
        /// 板头纸- POItem
        /// </summary>
        public string EBELP { get; set; }

        /// <summary>
        /// 板头纸-MRPCtrl
        /// </summary>
        public string DISPO { get; set; }

        /// <summary>
        /// 工单状态
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// WCS同步标志
        /// </summary>
        public int WCSSyncFlag { get; set; }

    }
}