using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Ems.CollectService.Entity
{
///
/// 计量设备信息
///
[SugarTable("base_monitor_info")]
public class BaseMonitorInfo
{
///
/// 自增标识
///
[SugarColumn(ColumnName="objid" ,IsPrimaryKey = true ,IsIdentity = true )]
public int Objid { get; set; }
///
/// 父级编号
///
[SugarColumn(ColumnName="parent_id" )]
public string ParentId { get; set; }
///
/// 计量设备编号
///
[SugarColumn(ColumnName="monitor_id" ,IsPrimaryKey = true )]
public string MonitorId { get; set; }
///
/// 计量设备名称
///
[SugarColumn(ColumnName="monitor_name" )]
public string MonitorName { get; set; }
///
/// 计量设备位置
///
[SugarColumn(ColumnName="monitor_addr" )]
public string MonitorAddr { get; set; }
///
/// 计量设备类型
///
[SugarColumn(ColumnName="monitor_type" )]
public int? MonitorType { get; set; }
///
/// 计量设备状态
///
[SugarColumn(ColumnName="monitor_status" )]
public int? MonitorStatus { get; set; }
///
/// 采集设备编号
///
[SugarColumn(ColumnName="collect_device_id" )]
public string CollectDeviceId { get; set; }
///
/// 祖级列表
///
[SugarColumn(ColumnName="ancestors" )]
public string Ancestors { get; set; }
///
/// 等级
///
[SugarColumn(ColumnName="grade" )]
public int? Grade { get; set; }
///
/// 建筑类型
///
[SugarColumn(ColumnName="build_id" )]
public string BuildId { get; set; }
///
/// 分项类型
///
[SugarColumn(ColumnName="subentry_id" )]
public string SubentryId { get; set; }
///
/// 业态类型
///
[SugarColumn(ColumnName="business_id" )]
public string BusinessId { get; set; }
///
/// 传感器仪表
///
[SugarColumn(ColumnName="meter_type_id" )]
public string MeterTypeId { get; set; }
///
/// 测量器具
///
[SugarColumn(ColumnName="meter_id" )]
public string MeterId { get; set; }
///
/// 修正值
///
[SugarColumn(ColumnName="correct_value" )]
public decimal? CorrectValue { get; set; }
///
/// PT值
///
[SugarColumn(ColumnName="pt" )]
public int? Pt { get; set; }
///
/// CT值
///
[SugarColumn(ColumnName="ct" )]
public int? Ct { get; set; }
///
/// 是否虚拟
/// 默认值: _utf8mb4'false'
///
[SugarColumn(ColumnName="is_ammeter" )]
public string IsAmmeter { get; set; }
///
/// 通断复位
///
[SugarColumn(ColumnName="is_key_monitor" )]
public int? IsKeyMonitor { get; set; }
///
/// 是否断路
///
[SugarColumn(ColumnName="is_circuit" )]
public int? IsCircuit { get; set; }
///
/// 权限标识(部门)
///
[SugarColumn(ColumnName="dept_id" )]
public int? DeptId { get; set; }
///
/// 权限标识(用户)
///
[SugarColumn(ColumnName="user_id" )]
public int? UserId { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName="create_by" )]
public string CreateBy { get; set; }
///
/// 创建时间
/// 默认值: CURRENT_TIMESTAMP
///
[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; }
}
}