using SqlSugar; using System; using System.Collections.Generic; using System.Text; #region << 版 本 注 释 >> /*-------------------------------------------------------------------- * 版权所有 (c) 2024 WenJY 保留所有权利。 * CLR版本:4.0.30319.42000 * 机器名称:LAPTOP-E0N2L34V * 命名空间:SlnMesnac.Model.domain * 唯一标识:a4dbd270-62c5-47db-a5f7-7e7cb895d15a * * 创建者:WenJY * 电子邮箱:wenjy@mesnac.com * 创建时间:2024-04-07 16:55:22 * 版本:V1.0.0 * 描述: * *-------------------------------------------------------------------- * 修改人: * 时间: * 修改说明: * * 版本:V1.0.0 *--------------------------------------------------------------------*/ #endregion << 版 本 注 释 >> namespace SlnMesnac.Model.domain { /// /// 设备停机记录 /// [SugarTable("dms_record_shut_down"), TenantAttribute("mes")] public class DmsRecordShutDown { /// /// 主键标识;scada上报的记录 /// [SugarColumn(ColumnName = "record_shut_down_id", IsPrimaryKey = true, IsIdentity = true)] public int RecordShutDownId { get; set; } /// /// 设备ID,关联dms_base_device_ledger的device_id /// [SugarColumn(ColumnName = "device_id")] public int DeviceId { get; set; } /// /// 停机类型ID,关联dm_base_shut_type的shut_type_id /// [SugarColumn(ColumnName = "shut_type")] public int? ShutType { get; set; } /// /// 停机原因 /// [SugarColumn(ColumnName = "shut_reason")] public string? ShutReason { get; set; } /// /// 停机开始时间 /// [SugarColumn(ColumnName = "shut_begin_time")] public DateTime? ShutBeginTime { get; set; } /// /// 停机结束时间 /// [SugarColumn(ColumnName = "shut_end_time")] public DateTime? ShutEndTime { get; set; } /// /// 停机时长 /// [SugarColumn(ColumnName = "shut_time")] public Decimal? ShutTime { get; set; } /// /// 是否标识:1-是;2-否 /// [SugarColumn(ColumnName = "is_flag")] public int IsFlag { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "remark")] public string? Remark { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "create_by")] public string? CreateBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "create_time")] public DateTime? CreateTime { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "update_by")] public string? UpdateBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "update_time")] public DateTime? UpdateTime { get; set; } } }