bus_workOrder_detail_rework.cs 3.4 KB
using System;
using SqlSugar;

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

        /// <summary>
        /// 工单工序工位任务子表 返工记录表
        /// </summary>
        [SugarColumn(ColumnDescription = "工单工序工位任务子表 返工记录表", IsNullable = true)]
        public Guid keys { get; set; }

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

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

        /// <summary>
        /// 工序头表Key
        /// </summary>
        public Guid workOrderHeadKeys { get; set; }

        /// <summary>
        /// 工艺路线编码
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "工艺路线编码", IsNullable = true)]
        public string processCode { get; set; }

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

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

        /// <summary>
        /// 工位code
        /// </summary>
        [SugarColumn(Length = 40, ColumnDescription = "工位code", IsNullable = true)]
        public string stationCode { get; set; }

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

        /// <summary>
        /// 工序code
        /// </summary>
        [SugarColumn(Length = 40, ColumnDescription = "工序code", IsNullable = true)]
        public string oprSequenceCode { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        [SugarColumn(Length = 40, ColumnDescription = "工序名称", IsNullable = true)]
        public string oprSequenceName { get; set; }

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


        /// <summary>
        /// 工序任务明细类型
        /// </summary>
        [SugarColumn(ColumnDescription = "工序任务明细类型", IsNullable = true)]
        public int workOrderType { 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 = 16, ColumnDescription = "建立者", IsNullable = true)]
        public string createBy { get; set; }

    }
}