ApiShipmentHeaderHistory.cs 3.29 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// Api出库单历史表
	/// </summary>
    [Table("Apishipment_header_history")]
    public partial class ApiShipmentHeaderHistory : SysEntity
    {
        public ApiShipmentHeaderHistory()
        {
        }

        /// <summary>
	    /// 出库单号
	    /// </summary>
        [Column("code")]
        public string Code { get; set; }
        /// <summary>
	    /// 上游系统单号
	    /// </summary>
        [Column("sourceCode")]
        public string SourceCode { get; set; }
        /// <summary>
	    /// 上游平台
	    /// </summary>
        [Column("sourcePlatform")]
        public string SourcePlatform { get; set; }
        /// <summary>
	    /// 仓库
	    /// </summary>
        [Column("warehouseType")]
        public string WarehouseType { get; set; }
        /// <summary>
	    /// 出库单类型
	    /// </summary>
        [Column("type")]
        public string Type { get; set; }
        /// <summary>
	    /// 客户编码
	    /// </summary>
        [Column("shipTo")]
        public string ShipTo { get; set; }
        /// <summary>
	    /// 优先级
	    /// </summary>
        [Column("priority")]
        public short? Priority { get; set; }
        /// <summary>
	    /// 发货站台
	    /// </summary>
        [Column("station")]
        public string Station { 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>
	    /// 上传备注
	    /// </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>
	    /// upload状态
	    /// </summary>
        [Column("uploadStatus")]
        public short? UploadStatus { get; set; }

        /// <summary>
        /// 申请单号:0,未申请.1,已申请
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// ERP单据号
        /// </summary>
        public string ErpSourceCode { get; set; }

        /// <summary>
        /// 出库托盘
        /// </summary>
        public string ContainerCode { get; set; }

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

        /// <summary>
        /// 账套
        /// </summary>
        public string Organization { get; set; }
    }
}