bus_workOrder_head.cs 4.96 KB
using System;
using SqlSugar;

namespace Hh.Mes.POJO.Entity
{
    [SugarTable("bus_workOrder_head")]
    public partial class bus_workOrder_head
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

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

        /// <summary>
        /// 工艺路线keys
        /// </summary>
        [SugarColumn(ColumnDescription = "工艺路线keys", IsNullable = true)]
        public Guid processHeadKeys { get; set; }

        /// <summary>
        /// 产品表code
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "产品表code", IsNullable = true)]
        public string productHeaderCode { get; set; }

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

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

        /// <summary>
        /// 产线Code
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "产线Code", IsNullable = true)]
        public string lineCode { get; set; }

        /// <summary>
        /// 当前工序(方便查询)
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "当前工序(方便查询)", IsNullable = true)]
        public string nowOprSequenceCode { get; set; }

        /// <summary>
        /// true 报废 false未报废
        /// </summary>
        [SugarColumn(ColumnDescription = "true 报废 false未报废", IsNullable = true)]
        public bool isScrap { get; set; }

        /// <summary>
        /// 任务状态
        /// </summary>
        [SugarColumn(ColumnDescription = "任务状态", IsNullable = true)]
        public int? state { 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>
        /// 实际开始时间(进线时间)
        /// </summary>
        [SugarColumn(ColumnDescription = "实际开始时间(进线时间)", IsNullable = true)]
        public DateTime actualStartTime { get; set; }

        /// <summary>
        /// 实际结束时间 出线时间
        /// </summary>
        [SugarColumn(ColumnDescription = "实际结束时间 出线时间", IsNullable = true)]
        public DateTime actualEndTime { 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; }

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

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

        /// <summary>
        /// 下个工序
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "下个工序", IsNullable = true)]
        public string nextOprSequenceCode { get; set; }

        /// <summary>
        /// 当前工位
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "当前工位", IsNullable = true)]
        public string nowStationCode { get; set; }

        /// <summary>
        /// 下一个工位
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "下一个工位", IsNullable = true)]
        public string nextStationCode { get; set; }

        [SugarColumn(Length = 40, IsNullable = true)]
        public string equipmentCode { 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 unitCode { get; set; }

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

        [SugarColumn(IsNullable = true)]
        public decimal num { get; set; }

        [SugarColumn(IsNullable = true)]
        public int isDelete { get; set; }

    }
}