TaskDetailHistory.cs 3.47 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 任务明细历史表
	/// </summary>
    [Table("task_detail_history")]
    public partial class TaskDetailHistory : SysEntity
    {
        public TaskDetailHistory()
        {
        }

        /// <summary>
	    /// 主任务号
	    /// </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>
	    /// 容器号
	    /// </summary>
        [Column("containerCode")]
        public string ContainerCode { get; set; }
        /// <summary>
	    /// 单据号
	    /// </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("isOccupy")]
        public int? IsOccupy { get; set; }
        /// <summary>
	    /// 是否站台占用
	    /// </summary>
        [Column("error")]
        public string Error { get; set; }
        /// <summary>
	    /// 子任务开始时间
	    /// </summary>
        [Column("startTime")]
        public System.DateTime? StartTime { get; set; }
        /// <summary>
	    /// 子任务完成时间
	    /// </summary>
        [Column("endTime")]
        public System.DateTime? EndTime { get; set; }
    }
}