#region << 版 本 注 释 >> /*-------------------------------------------------------------------- * 版权所有 (c) 2025 WenJY 保留所有权利。 * CLR版本:4.0.30319.42000 * 机器名称:Mr.Wen's MacBook Pro * 命名空间:Sln.Imm.Daemon.Model.dao * 唯一标识:B0FF7F3C-05DE-44D0-9909-3301EA07E749 * * 创建者:WenJY * 电子邮箱: * 创建时间:2025-09-05 11:14:23 * 版本:V1.0.0 * 描述: * *-------------------------------------------------------------------- * 修改人: * 时间: * 修改说明: * * 版本:V1.0.0 *--------------------------------------------------------------------*/ #endregion << 版 本 注 释 >> using SqlSugar; namespace Sln.Imm.Daemon.Model.dao; /// /// 设备信息 /// [SugarTable("ems_base_monitor_info"), TenantAttribute("mes")] public class BaseDeviceInfo { /// /// Desc:自增标识 /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")] public int objid { get; set; } /// /// Desc:父级编号 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "parent_id")] public int? parentId { get; set; } /// /// Desc:计量设备编号 /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey = true, ColumnName = "monitor_code")] public string monitorId { get; set; } /// /// Desc:计量设备名称 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "monitor_name")] public string monitorName { get; set; } /// /// Desc:计量设备位置 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "monitor_addr")] public string monitorAddr { get; set; } /// /// Desc:计量设备类型 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "monitor_type")] public int? monitorType { get; set; } /// /// Desc:计量设备状态 /// Default:0 /// Nullable:True /// [SugarColumn(ColumnName = "monitor_status")] public int? monitorStatus { get; set; } /// /// Desc:采集设备编号 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "collect_device_id")] public string collectDeviceId { get; set; } /// /// Desc:祖级列表 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "ancestors")] public string ancestors { get; set; } /// /// Desc:等级 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "grade")] public int? grade { get; set; } /// /// Desc:传感器仪表 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "meter_type_id")] public string meterTypeId { get; set; } /// /// Desc:修正值 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "correct_value")] public decimal? correctValue { get; set; } /// /// Desc:PT值 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "pt")] public int? pt { get; set; } /// /// Desc:CT值 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "ct")] public int? ct { get; set; } /// /// Desc:是否虚拟 /// Default:false /// Nullable:True /// [SugarColumn(ColumnName = "is_ammeter")] public string isAmmeter { get; set; } /// /// Desc:通断复位 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "is_key_monitor")] public int? isKeyMonitor { get; set; } /// /// Desc:是否断路 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "is_circuit")] public int? isCircuit { get; set; } /// /// Desc:创建人 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "create_by")] public string createBy { get; set; } /// /// Desc:创建时间 /// Default:CURRENT_TIMESTAMP /// Nullable:True /// [SugarColumn(ColumnName = "create_time")] public DateTime? createTime { get; set; } /// /// Desc:更新人 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "update_by")] public string updateBy { get; set; } /// /// Desc:更新时间 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "update_time")] public DateTime? updateTime { get; set; } }