|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace zzz.Model.Entity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// QC结果
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("eqmt_collect_qc_result")]
|
|
|
|
|
public class EqmtCollectQCResult
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "自增主键")]
|
|
|
|
|
public long id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
|
|
|
|
|
public DateTime? gmt_create { get; set; } = DateTime.Now;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 修改时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
|
|
|
|
|
public DateTime? gmt_modified { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 班次开始时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "班次开始时间")]
|
|
|
|
|
public DateTime? shift_begin_dt { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收集唯一ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "收集唯一ID")]
|
|
|
|
|
public string collect_id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "设备id")]
|
|
|
|
|
public int eqmt_id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 寄存器地址(发生异常) (QC项)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "寄存器地址(发生异常)")]
|
|
|
|
|
public string registor_address { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报警类型 1:ON报警停机 2:ON报警不停机
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "报警类型 1:ON报警停机 2:ON报警不停机")]
|
|
|
|
|
public int? except_type { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报警类型 1:ON报警停机 2:ON报警不停机
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "报警类型名称 1:ON报警停机 2:ON报警不停机")]
|
|
|
|
|
public string except_type_name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报警内容
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "报警内容")]
|
|
|
|
|
public string except_message { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// QC结果数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "QC结果数量")]
|
|
|
|
|
public int qc_result { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|