base_equipment_status.cs 2.12 KB
using System;
using SqlSugar;

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

        /// <summary>
        /// 厂房编码
        /// </summary>
        [SugarColumn(Length = 32, ColumnDescription = "厂房编码", IsNullable = false)]
        public string factoryCode { get; set; }

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

        /// <summary>
        /// 设备名称
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "设备名称", IsNullable = false)]
        public string equipmentName { get; set; }

        /// <summary>
        /// 设备状态
        /// </summary>
        [SugarColumn(ColumnDescription = "设备状态", IsNullable = false)]
        public int equipmentStatus { get; set; }

        /// <summary>
        /// 状态描述 1=故障、2=手动、3=维修、4=空闲、5=运行、6=任务中断
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "状态描述", IsNullable = false)]
        public string equipmentStatusDesc { get; set; }

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

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

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

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