ReceiptHeader.cs 3.13 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 入库单主表
	/// </summary>
    [Table("receipt_header")]
    public partial class ReceiptHeader : SysEntity
    {
        public ReceiptHeader()
        {
        }

        /// <summary>
	    /// 入库单号
	    /// </summary>
        [Column("code")]
        public string Code { get; set; }
        /// <summary>
	    /// 入库类型
	    /// </summary>
        [Column("type")]
        public string Type { get; set; }
        /// <summary>
	    /// 上游系统单号
	    /// </summary>
        [Column("sourceCode")]
        public string SourceCode { get; set; }
        /// <summary>
	    /// 上游平台
	    /// </summary>
        [Column("sourcePlatform")]
        public string SourcePlatform { get; set; }
        /// <summary>
	    /// 供应商id
	    /// </summary>
        [Column("supplierId")]
        public int? SupplierId { get; set; }
        /// <summary>
	    /// 供应商编码
	    /// </summary>
        [Column("supplierCode")]
        public string SupplierCode { get; set; }
        /// <summary>
	    /// 供应商名称
	    /// </summary>
        [Column("supplierName")]
        public string SupplierName { get; set; }
        /// <summary>
	    /// 总数量
	    /// </summary>
        [Column("totalQty")]
        public decimal? TotalQty { get; set; }
        /// <summary>
	    /// 总行数
	    /// </summary>
        [Column("totalLines")]
        public short? TotalLines { get; set; }
        /// <summary>
	    /// 入库单备注
	    /// </summary>
        [Column("remark")]
        public string Remark { get; set; }
        /// <summary>
	    /// upload状态
	    /// </summary>
        [Column("uploadStatus")]
        public short? UploadStatus { get; set; }
        /// <summary>
	    /// 上传备注或托盘
	    /// </summary>
        [Column("uploadremark")]
        public string Uploadremark { get; set; }
        /// <summary>
	    /// 上传时间
	    /// </summary>
        [Column("uploadTime")]
        public System.DateTime? UploadTime { get; set; }
        /// <summary>
	    /// 入库预约时间
	    /// </summary>
        [Column("appointmentTime")]
        public System.DateTime? AppointmentTime { get; set; }
        /// <summary>
	    /// 单据头状态
	    /// </summary>
        [Column("firstStatus")]
        public short? FirstStatus { get; set; }
        /// <summary>
	    /// 单据尾状态
	    /// </summary>
        [Column("lastStatus")]
        public short? LastStatus { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        [Column("warehouseType")]
        public string WarehouseType { get; set; }
        /// <summary>
        /// 站台
        /// </summary>
        [Column("station")]
        public string Station { get; set; }
        /// <summary>
        /// 托盘
        /// </summary>
        [Column("containerCode")]
        public string ContainerCode { get; set; }
        /// <summary>
        /// 托盘类型
        /// </summary>
        [Column("containerType")]
        public string ContainerType { get; set; }
    }
}