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.

87 lines
2.6 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 System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Models
{
/// <summary>
/// 停机记录
///</summary>
[SugarTable("DMS_RECORD_SHUT_DOWN")]
public class BaseRecordShutDown
{
/// <summary>
/// 备 注:主键标识;scada上报的记录
/// 默认值:
///</summary>
[SugarColumn(ColumnName="RECORD_SHUT_DOWN_ID" , OracleSequenceName = "PARAMRECORD_SEQ_ID", IsPrimaryKey = true) ]
public decimal RECORD_SHUT_DOWN_ID { get; set; }
/// <summary>
/// 备 注:设备ID关联prod_base_machine_info的machine_id
/// 默认值:
///</summary>
[SugarColumn(ColumnName="MACHINE_ID" ) ]
public decimal MACHINE_ID { get; set; }
/// <summary>
/// 备 注:停机类型ID关联dm_base_shut_type的shut_type_id
/// 默认值:
///</summary>
[SugarColumn(ColumnName="SHUT_TYPE_ID" ) ]
public decimal? SHUT_TYPE_ID { get; set; }
/// <summary>
/// 备 注:停机原因ID关联dms_base_shut_reason的shut_reason_id
/// 默认值:
///</summary>
[SugarColumn(ColumnName="SHUT_REASON_ID" ) ]
public decimal? SHUT_REASON_ID { get; set; }
/// <summary>
/// 备 注:停机开始时间
/// 默认值:
///</summary>
[SugarColumn(ColumnName="SHUT_BEGIN_TIME" ) ]
public DateTime? SHUT_BEGIN_TIME { get; set; }
/// <summary>
/// 备 注:停机结束时间
/// 默认值:
///</summary>
[SugarColumn(ColumnName="SHUT_END_TIME" ) ]
public DateTime? SHUT_END_TIME { get; set; }
/// <summary>
/// 备 注:停机时长(秒)
/// 默认值:
///</summary>
[SugarColumn(ColumnName="SHUT_TIME" ) ]
public decimal? SHUT_TIME { get; set; }
/// <summary>
/// 备 注:停机标识0未结束 1已结束
/// 默认值:
///</summary>
[SugarColumn(ColumnName="DOWNTIME_FLAG" ) ]
public string DOWNTIME_FLAG { get; set; } = null!;
/// <summary>
/// 备 注:停机原因
/// 默认值:
///</summary>
[SugarColumn(ColumnName="SHUT_REASON" ) ]
public string? SHUT_REASON { get; set; }
/// <summary>
/// 备 注:激活标识1是 0否
/// 默认值:
///</summary>
[SugarColumn(ColumnName="ACTIVE_FLAG" ) ]
public string ACTIVE_FLAG { get; set; } = null!;
}
}