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

namespace Hh.Mes.POJO.Entity
{
    /// <summary>
    /// 订单请求记录_表头
    /// </summary>
    [SugarTable("api_workOrder_head")]
    public partial class api_workOrder_head
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

        [SugarColumn(IsNullable = true)]
        public Guid keys { get; set; }

        /// <summary>
        /// 唯一标识ID
        /// </summary>
        [SugarColumn(Length = 80, ColumnDescription = "唯一标识ID", IsNullable = true)]
        public string plmeId { get; set; }

        /// <summary>
        /// 工单code 生产订单号
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "工单code 生产订单号", IsNullable = true)]
        public string workOrderCode { get; set; }

        /// <summary>
        /// 生产计划号 唯一
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "生产计划号", IsNullable = true)]
        public string planCode { get; set; }

        /// <summary>
        /// 产品编码
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "产品编码", IsNullable = true)]
        public string productCode { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        [SugarColumn( ColumnDescription = "产品名称", IsNullable = true)]
        public string productName { get; set; }

        [SugarColumn(Length = 80, IsNullable = true)]
        public string factoryCode { get; set; }

        [SugarColumn(Length = 50, IsNullable = true)]
        public string lineCode { get; set; }

        /// <summary>
        /// 订单类型
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "订单类型", IsNullable = true)]
        public string orderType { get; set; }

        /// <summary>
        /// 工艺路线版本
        /// </summary>
        [SugarColumn(Length = 40, ColumnDescription = "工艺路线版本", IsNullable = true)]
        public decimal edition { get; set; }

        /// <summary>
        /// 项目编码
        /// </summary>
        [SugarColumn(Length = 64, ColumnDescription = "项目编码", IsNullable = true)]
        public string projectCode { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [SugarColumn(Length = 64, ColumnDescription = "项目名称", IsNullable = true)]
        public string projectName { get; set; }

        /// <summary>
        /// 管线号/图纸号
        /// </summary>
        [SugarColumn(Length = 64, ColumnDescription = "管线号/图纸号", IsNullable = true)]
        public string lineNo { get; set; }

        /// <summary>
        /// 图纸URL
        /// </summary>
        [SugarColumn(ColumnDescription = "图纸URL", IsNullable = true)]
        public string designUrl { get; set; }

        /// <summary>
        /// 图纸页码
        /// </summary>
        [SugarColumn(Length = 64, ColumnDescription = "图纸页码", IsNullable = true)]
        public string designNo { get; set; }

        /// <summary>
        /// 计划开始时间
        /// </summary>
        [SugarColumn(ColumnDescription = "计划开始时间", IsNullable = true)]
        public DateTime planStartTime { get; set; }

        /// <summary>
        /// 计划结束时间
        /// </summary>
        [SugarColumn(ColumnDescription = "计划结束时间", IsNullable = true)]
        public DateTime planEndTime { get; set; }

        /// <summary>
        /// 扩展字段1
        /// </summary>
        [SugarColumn(Length = 40, ColumnDescription = "扩展字段1", IsNullable = true)]
        public string extend1 { get; set; }

        /// <summary>
        /// 扩展字段2
        /// </summary>
        [SugarColumn(Length = 40, ColumnDescription = "扩展字段2", IsNullable = true)]
        public string extend2 { get; set; }

        /// <summary>
        /// 扩展字段3
        /// </summary>
        [SugarColumn(Length = 40, ColumnDescription = "扩展字段3", IsNullable = true)]
        public string extend3 { get; set; }

        /// <summary>
        /// 扩展字段4
        /// </summary>
        [SugarColumn(Length = 40, ColumnDescription = "扩展字段4", IsNullable = true)]
        public string extend4 { get; set; }

        /// <summary>
        /// 1弃用0 删除
        /// </summary>
        [SugarColumn(ColumnDescription = "1弃用0 删除", IsNullable = true)]
        public int isDelete { get; set; }

        /// <summary>
        /// 建立时间
        /// </summary>
        [SugarColumn(ColumnDescription = "建立时间", IsNullable = true)]
        public DateTime createTime { get; set; }

        /// <summary>
        /// 建立者
        /// </summary>
        [SugarColumn(Length = 40, ColumnDescription = "建立者", IsNullable = true)]
        public string createBy { get; set; }
    }
}