base_loader_task.cs 3.16 KB
using System;
using SqlSugar;

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

        /// <summary>
        /// 设备编码
        /// </summary>
        [SugarColumn(Length = 255, ColumnDescription = "设备编码", IsNullable = false)]
        public string equipmentCode { get; set; }

        /// <summary>
        /// 任务号
        /// </summary>
        [SugarColumn(Length = 255, ColumnDescription = "任务号", IsNullable = false)]
        public string taskCode { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        [SugarColumn(Length = 255, ColumnDescription = "物料编码", IsNullable = false)]
        public string materialCode { get; set; }

        /// <summary>
        /// 上料数量
        /// </summary>
        [SugarColumn(ColumnDescription = "上料数量", IsNullable = false)]
        public int loaderNum { get; set; }

        /// <summary>
        /// 已经测长数量
        /// </summary>
        [SugarColumn(ColumnDescription = "已经测长数量", IsNullable = false)]
        public int feedbackNum { get; set; }

        /// <summary>
        /// 上料状态初始 = 0,上料中= 5,成功 = 10,失败 = 30,过期 = 40
        /// </summary>
        [SugarColumn(ColumnDescription = "上料状态初始 = 0,上料中= 5,成功 = 10,失败 = 30,过期 = 40", IsNullable = false)]
        public int loaderStatus { get; set; }

        /// <summary>
        /// 操作人员
        /// </summary>
        [SugarColumn(Length = 255, ColumnDescription = "操作人员", IsNullable = false)]
        public string createBy { get; set; }

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

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

        /// <summary>
        /// 备用1
        /// </summary>
        [SugarColumn(Length = 255, ColumnDescription = "备用1", IsNullable = true)]
        public string extend1 { get; set; }

        /// <summary>
        /// 备用2
        /// </summary>
        [SugarColumn(Length = 255, ColumnDescription = "备用2", IsNullable = true)]
        public string extend2 { get; set; }

        /// <summary>
        /// 已消耗数量
        /// </summary>
        [SugarColumn(ColumnDescription = "已消耗数量", IsNullable = false)]
        public int consumeNum { get; set; }

    }

    public class Measuring
    {
        /// <summary>
        /// 任务号
        /// </summary>
        public string taskCode { get; set; }

        /// <summary>
        /// 长度
        /// </summary>
        public int taskLength { get; set; }

        /// <summary>
        /// 顺序
        /// </summary>
        public int taskOrder { get; set; }
    }
}