ReceiptDetailHistory.cs 3.56 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 入库明细历史表
	/// </summary>
    [Table("receipt_detail_history")]
    public partial class ReceiptDetailHistory : SysEntity
    {
        public ReceiptDetailHistory()
        {
        }

        /// <summary>
        /// 站台
        /// </summary>
        [Column("station")]
        public string Station { get; set; }
        /// <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("receiptId")]
        public int? ReceiptId { get; set; }
        /// <summary>
	    /// 入库单编码
	    /// </summary>
        [Column("receiptCode")]
        public string ReceiptCode { 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("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("checkud")]
        public string Checkud { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [Column("remark")]
        public string Remark { get; set; }
    }
}