WcsTask.cs 3.44 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 
	/// </summary>
    [Table("wcs_Task")]
    public partial class WcsTask : IdEntity
    {
        public WcsTask()
        {
        }

        /// <summary>
	    /// 任务号
	    /// </summary>
        [Column("tNo")]
        public string TNo { get; set; }
        /// <summary>
	    /// WMS任务号
	    /// </summary>
        [Column("tNo_WMS")]
        public string TNoWMS { get; set; }
        /// <summary>
	    /// 任务类型
	    /// </summary>
        [Column("Type")]
        public string Type { get; set; }
        /// <summary>
	    /// 上一任务状态
	    /// </summary>
        [Column("LastState")]
        public int? LastState { get; set; }
        /// <summary>
	    /// 当前任务状态
	    /// </summary>
        [Column("NowState")]
        public int? NowState { get; set; }
        /// <summary>
	    /// 下一任务状态
	    /// </summary>
        [Column("NextState")]
        public int? NextState { get; set; }
        /// <summary>
	    /// 条码
	    /// </summary>
        [Column("PalletOrBoxNo")]
        public string PalletOrBoxNo { get; set; }
        /// <summary>
	    /// 优先级
	    /// </summary>
        [Column("Priority")]
        public int? Priority { get; set; }
        /// <summary>
	    /// 巷道
	    /// </summary>
        [Column("Roadway")]
        public int? Roadway { get; set; }
        /// <summary>
	    /// 货叉号
	    /// </summary>
        [Column("ForkNo")]
        public int? ForkNo { get; set; }
        /// <summary>
	    /// 堆垛机起点
	    /// </summary>
        [Column("FromPlace")]
        public string FromPlace { get; set; }
        /// <summary>
	    /// 堆垛机终点
	    /// </summary>
        [Column("ToPlace")]
        public string ToPlace { get; set; }
        /// <summary>
	    /// 入口点
	    /// </summary>
        [Column("EntrancePlace")]
        public string EntrancePlace { get; set; }
        /// <summary>
	    /// 出口点
	    /// </summary>
        [Column("ExitPlace")]
        public string ExitPlace { get; set; }
        /// <summary>
	    /// 错误信息
	    /// </summary>
        [Column("ErrorMsg")]
        public string ErrorMsg { get; set; }
        /// <summary>
	    /// 创建人
	    /// </summary>
        [Column("Task_CreateWho")]
        public string TaskCreateWho { get; set; }
        /// <summary>
	    /// 创建时间
	    /// </summary>
        [Column("Task_CreateTime")]
        public System.DateTime? TaskCreateTime { get; set; }
        /// <summary>
	    /// 开始时间
	    /// </summary>
        [Column("Task_StartTime")]
        public System.DateTime? TaskStartTime { get; set; }
        /// <summary>
	    /// 结束时间
	    /// </summary>
        [Column("Task_FinishTime")]
        public System.DateTime? TaskFinishTime { get; set; }
        /// <summary>
	    /// 堆垛机重发标志
	    /// </summary>
        [Column("SendAgainFlag")]
        public int? SendAgainFlag { get; set; }
        /// <summary>
	    /// 删除标志
	    /// </summary>
        [Column("DeleteFlag")]
        public int? DeleteFlag { get; set; }
        /// <summary>
	    /// 空出标志
	    /// </summary>
        [Column("EmptyOutFlag")]
        public int? EmptyOutFlag { get; set; }
        /// <summary>
	    /// 满入标志
	    /// </summary>
        [Column("FullInFlag")]
        public int? FullInFlag { get; set; }
    }
}