TaskWarehouse.cs 2.68 KB
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace HHECS.Model.Entities
{
    /// <summary>
    /// 立库任务
    /// </summary>
    [Serializable]
    [Table("task_warehouse")]
    public class TaskWarehouse : BaseEntityCU<int>
    {
        /// <summary>
        ///  料单编码
        /// </summary>
        [Column("billCode")]
        [MaxLength(50)]
        public string BillCode { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        [Column("materialCode")]
        [MaxLength(50)]
        public string MaterialCode { get; set; }

        /// <summary>
        /// 管材SN码
        /// </summary>
        [Column("pipeSN")]
        [MaxLength(50)]
        public string PipeSN { get; set; }

        /// <summary>
        /// 库存ID
        /// </summary>
        [Column("inventoryId")]
        public int InventoryId { get; set; }

        /// <summary>
        ///  管材长度
        /// </summary>
        [Column("pipeLength")]
        public decimal? PipeLength { get; set; }

        /// <summary>
        /// 线体编码
        /// </summary>
        [Column("lineCode")]
        [MaxLength(50)]
        public string LineCode { get; set; }

        /// <summary>
        /// 任务类型
        /// </summary>
        [Column("taskType")]
        public int TaskType { get; set; }

        /// <summary>
        /// 取货地址
        /// </summary>
        [Column("fromAddress")]
        [MaxLength(50)]
        public string FromAddress { get; set; }

        /// <summary>
        /// 去向地址
        /// </summary>
        [Column("toAddress")]
        [MaxLength(50)]
        public string ToAddress { get; set; }

        /// <summary>
        /// 重入标识
        /// </summary>
        [Column("isDoubleIn")]
        public int IsDoubleIn { get; set; }

        /// <summary>
        /// 重入的去向地址
        /// </summary>
        [Column("doubleInToAddress")]
        [MaxLength(50)]
        public string DoubleInToAddress { get; set; }

        /// <summary>
        /// 任务重发
        /// </summary>
        [Column("resend")]
        public int Resend { get; set; }

        /// <summary>
        /// 任务状态
        /// </summary>
        [Column("state")]
        public int State { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        [Column("startTime")]
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        [Column("EndTime")]
        public DateTime EndTime { get; set; }

    }
}