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#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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
{
/// <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; }
}
}