api_workOrder_head.cs 2.38 KB
using Hh.Mes.POJO.ApiEntity;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Hh.Mes.POJO.WebEntity.api
{
    /// <summary>
    /// 订单请求记录_表头
    /// </summary>
    public class api_workOrder_head
    {
        public Guid keys { get; set; } = Guid.NewGuid();
        /// <summary>
        /// 唯一标识ID
        /// </summary>
        public string plmeId { get; set; }
        /// <summary>
        /// 生产订单号
        /// </summary>
        public string workOrderCode { get; set; }
        /// <summary>
        /// 生产计划号
        /// </summary>
        public string planCode { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string productCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string productName { get; set; }

        /// <summary>
        /// 工厂
        /// </summary>
        public string factoryCode { get; set; }
        /// <summary>
        /// 产线编码
        /// </summary>
        public string lineCode { get; set; }
        /// <summary>
        /// 订单类型
        /// </summary>
        public string orderType { get; set; }

        /// <summary>
        /// 计划开始日期
        /// </summary>
        public DateTime playdate { get; set; }

        /// <summary>
        /// 计划结束日期
        /// </summary>
        public DateTime enddate { get; set; }

        /// <summary>
        /// 工艺路线版本
        /// </summary>
        public string edition { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string unitCode { get; set; }

        /// <summary>
        /// 预留字段2
        /// </summary>
        public string ylzd2 { get; set; }

        public DateTime createTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 创建时间-时间范围,用于筛选数据
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string createTimeLay { get; set; }

        /// <summary>
        /// 计划时间-时间范围,用于筛选数据
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string playTimeLay { get; set; }

        public decimal num { get; set; }
        public string type { get; set; }
        public string createBy { get; set; }
    }
}