TaskDetail.cs 3.32 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 立库任务明细表
	/// </summary>
    [Table("task_detail")]
    public partial class TaskDetail : SysEntity
    {
        public TaskDetail()
        {
        }

        /// <summary>
	    /// 主任务Id
	    /// </summary>
        [Column("taskNo")]
        public string TaskNo { get; set; }
        /// <summary>
	    /// 任务类型
	    /// </summary>
        [Column("taskType")]
        public string TaskType { get; set; }
        /// <summary>
        /// 上游单号
        /// </summary>
        [Column("sourceCode")]
        public string SourceCode { get; set; }
        /// <summary>
	    /// 出入库货箱Code
	    /// </summary>
        [Column("containerCode")]
        public string ContainerCode { get; set; }
        /// <summary>
	    /// WMS出入库单据号
	    /// </summary>
        [Column("orderCode")]
        public string OrderCode { get; set; }
        /// <summary>
	    /// 物料编码
	    /// </summary>
        [Column("materialCode")]
        public string MaterialCode { get; set; }
        /// <summary>
	    /// 物料名称
	    /// </summary>
        [Column("materialName")]
        public string MaterialName { get; set; }
        /// <summary>
	    /// 
	    /// </summary>
        [Column("batch")]
        public string Batch { get; set; }
        /// <summary>
	    /// 
	    /// </summary>
        [Column("lot")]
        public string Lot { get; set; }
        /// <summary>
	    /// 单据数量
	    /// </summary>
        [Column("oderQty")]
        public decimal? OderQty { get; set; }
        /// <summary>
        /// 容器分配数量
        /// </summary>
        [Column("containerQty")]
        public decimal? ContainerQty { get; set; }
        /// <summary>
	    /// 已完成数量
	    /// </summary>
        [Column("hadQty")]
        public decimal? HadQty { get; set; }
        /// <summary>
	    /// 库存物料id
	    /// </summary>
        [Column("inventoryId")]
        public int? InventoryId { get; set; }
        /// <summary>
	    /// 源库位
	    /// </summary>
        [Column("sourceLocation")]
        public string SourceLocation { get; set; }
        /// <summary>
	    /// 目的库位
	    /// </summary>
        [Column("destinationLocation")]
        public string DestinationLocation { get; set; }
        /// <summary>
	    /// 
	    /// </summary>
        [Column("roadway")]
        public int? Roadway { get; set; }
        /// <summary>
	    /// 
	    /// </summary>
        [Column("station")]
        public string Station { get; set; }
        /// <summary>
	    /// 子任务状态
	    /// </summary>
        [Column("status")]
        public int? Status { get; set; }
        /// <summary>
	    /// 任务优先级
	    /// </summary>
        [Column("priority")]
        public int? Priority { get; set; }
        /// <summary>
	    /// 
	    /// </summary>
        [Column("isEmptyOut")]
        public int? IsEmptyOut { get; set; }
        /// <summary>
	    /// 子任务开始时间
	    /// </summary>
        [Column("startTime")]
        public System.DateTime? StartTime { get; set; }
        /// <summary>
	    /// 子任务完成时间
	    /// </summary>
        [Column("endTime")]
        public System.DateTime? EndTime { get; set; }
    }
}