base_equipment_alarm.cs 2.53 KB
using System;
using SqlSugar;

namespace Hh.Mes.POJO.Entity
{
    [SugarTable("base_equipment_alarm")]
    public partial class base_equipment_alarm
    {
        /// <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>
        /// 故障类别 1.零件意外失效 2.操作不當 3.一级保養不當 4.二级保養不當 5.维修改善不當 6.設備原有問題 7.調試中 8.定期保養 9.設備改善 10.其他 13.預防預知保養
        /// </summary>
        [SugarColumn(ColumnDescription = "故障类别", IsNullable = true)]
        public int alarmType { get; set; }
 
        /// <summary>
        /// 故障内容
        /// </summary>
        [SugarColumn(Length = 4000, ColumnDescription = "故障内容", IsNullable = false)]
        public string alarmContent { get; set; }
 
        /// <summary>
        /// 故障开始时间
        /// </summary>
        [SugarColumn(ColumnDescription = "故障开始时间", IsNullable = false)]
        public DateTime startTime { get; set; }
 
        /// <summary>
        /// 故障结束时间
        /// </summary>
        [SugarColumn(ColumnDescription = "故障结束时间", IsNullable = true)]
        public DateTime endTime { get; set; }
 
        /// <summary>
        /// 是否结束
        /// </summary>
        [SugarColumn(ColumnDescription = "是否结束", IsNullable = false)]
        public bool isEnd { get; set; }
 
        /// <summary>
        /// 维修方法
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "维修方法", IsNullable = false)]
        public string faultHandleInfo { get; set; }
 
        /// <summary>
        /// 维修人
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "维修人", IsNullable = false)]
        public string handleUser { get; set; }
 
     }
}