You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

103 lines
3.2 KiB
C#

using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2024 WenJY
* CLR4.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
{
/// <summary>
/// 设备停机记录
///</summary>
[SugarTable("dms_record_shut_down"), TenantAttribute("mes")]
public class DmsRecordShutDown
{
/// <summary>
/// 主键标识;scada上报的记录
///</summary>
[SugarColumn(ColumnName = "record_shut_down_id", IsPrimaryKey = true, IsIdentity = true)]
public int RecordShutDownId { get; set; }
/// <summary>
/// 设备ID关联dms_base_device_ledger的device_id
///</summary>
[SugarColumn(ColumnName = "device_id")]
public int DeviceId { get; set; }
/// <summary>
/// 停机类型ID关联dm_base_shut_type的shut_type_id
///</summary>
[SugarColumn(ColumnName = "shut_type")]
public int? ShutType { get; set; }
/// <summary>
/// 停机原因
///</summary>
[SugarColumn(ColumnName = "shut_reason")]
public string? ShutReason { get; set; }
/// <summary>
/// 停机开始时间
///</summary>
[SugarColumn(ColumnName = "shut_begin_time")]
public DateTime? ShutBeginTime { get; set; }
/// <summary>
/// 停机结束时间
///</summary>
[SugarColumn(ColumnName = "shut_end_time")]
public DateTime? ShutEndTime { get; set; }
/// <summary>
/// 停机时长
///</summary>
[SugarColumn(ColumnName = "shut_time")]
public Decimal? ShutTime { get; set; }
/// <summary>
/// 是否标识1-是2-否
///</summary>
[SugarColumn(ColumnName = "is_flag")]
public int IsFlag { get; set; }
/// <summary>
/// 备注
///</summary>
[SugarColumn(ColumnName = "remark")]
public string? Remark { get; set; }
/// <summary>
/// 创建人
///</summary>
[SugarColumn(ColumnName = "create_by")]
public string? CreateBy { get; set; }
/// <summary>
/// 创建时间
///</summary>
[SugarColumn(ColumnName = "create_time")]
public DateTime? CreateTime { get; set; }
/// <summary>
/// 更新人
///</summary>
[SugarColumn(ColumnName = "update_by")]
public string? UpdateBy { get; set; }
/// <summary>
/// 更新时间
///</summary>
[SugarColumn(ColumnName = "update_time")]
public DateTime? UpdateTime { get; set; }
}
}