ApiShipmentDetail.cs 3.87 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 出库明细表
	/// </summary>
    [Table("Apishipment_detail")]
    public partial class ApiShipmentDetail : SysEntity
    {
        public ApiShipmentDetail()
        {
        }

        /// <summary>
	    /// 上游系统单号
	    /// </summary>
        [Column("sourceCode")]
        public string SourceCode { get; set; }
        /// <summary>
	    /// 订单号
	    /// </summary>
        [Column("cPoCode")]
        public string CPoCode { get; set; }
        /// <summary>
	    /// 工作令号
	    /// </summary>
        [Column("moCode")]
        public string MoCode { get; set; }
        /// <summary>
	    /// 上游系统行号
	    /// </summary>
        [Column("sourceLine")]
        public string SourceLine { get; set; }
        /// <summary>
	    /// 出库单id
	    /// </summary>
        [Column("shipmentId")]
        public int? ShipmentId { get; set; }
        /// <summary>
	    /// 出库单编码
	    /// </summary>
        [Column("shipmentCode")]
        public string ShipmentCode { get; set; }
        /// <summary>
	    /// 物料Id
	    /// </summary>
        [Column("materialId")]
        public int? MaterialId { get; set; }
        /// <summary>
	    /// 物料编码
	    /// </summary>
        [Column("materialCode")]
        public string MaterialCode { get; set; }
        /// <summary>
	    /// 批次
	    /// </summary>
        [Column("batch")]
        public string Batch { get; set; }
        /// <summary>
	    /// 批号
	    /// </summary>
        [Column("lot")]
        public string Lot { get; set; }
        /// <summary>
	    /// 项目号
	    /// </summary>
        [Column("project")]
        public string Project { get; set; }
        /// <summary>
	    /// 生产日期
	    /// </summary>
        [Column("manufactureDate")]
        public System.DateTime? ManufactureDate { get; set; }
        /// <summary>
	    /// 失效日期
	    /// </summary>
        [Column("expirationDate")]
        public System.DateTime? ExpirationDate { get; set; }
        /// <summary>
	    /// 入库日期
	    /// </summary>
        [Column("agingDate")]
        public System.DateTime? AgingDate { get; set; }
        /// <summary>
	    /// 库存状态
	    /// </summary>
        [Column("inventoryStatus")]
        public string InventoryStatus { get; set; }
        /// <summary>
	    /// 单据发货数量
	    /// </summary>
        [Column("qty")]
        public decimal? Qty { get; set; }
        /// <summary>
	    /// 已分配数量
	    /// </summary>
        [Column("qtyDivided")]
        public decimal? QtyDivided { get; set; }
        /// <summary>
	    /// 已拣数量
	    /// </summary>
        [Column("qtyCompleted")]
        public decimal? QtyCompleted { get; set; }
        /// <summary>
	    /// 单位
	    /// </summary>
        [Column("unit")]
        public string Unit { get; set; }
        /// <summary>
	    /// 物料单价
	    /// </summary>
        [Column("price")]
        public decimal? Price { get; set; }
        /// <summary>
	    /// 状态
	    /// </summary>
        [Column("status")]
        public short? Status { get; set; }
        /// <summary>
	    /// 
	    /// </summary>
        [Column("autoId")]
        public int? AutoId { get; set; }
        /// <summary>
        /// 报错
        /// </summary>
        [Column("error")]
        public string Error { get; set; }

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

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

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

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