using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Ems.CollectService.Entity
{
///
/// 采集设备信息
///
[SugarTable("base_collect_device_info")]
public class BaseCollectDeviceInfo
{
///
/// 自增标识
///
[SugarColumn(ColumnName="objid" ,IsPrimaryKey = true ,IsIdentity = true )]
public int Objid { get; set; }
///
/// 设备编号
///
[SugarColumn(ColumnName="collect_device_id" ,IsPrimaryKey = true )]
public string CollectDeviceId { get; set; }
///
/// 设备名称
///
[SugarColumn(ColumnName="collect_device_name" )]
public string CollectDeviceName { get; set; }
///
/// 生产厂家
///
[SugarColumn(ColumnName="manufacturer" )]
public string Manufacturer { get; set; }
///
/// 生产编号
///
[SugarColumn(ColumnName="factory_number" )]
public string FactoryNumber { get; set; }
///
/// 生产日期
///
[SugarColumn(ColumnName="produce_date" )]
public DateTime? ProduceDate { get; set; }
///
/// 安装位置
///
[SugarColumn(ColumnName="address" )]
public string Address { get; set; }
///
/// 能源类型
///
[SugarColumn(ColumnName="energy_type" )]
public int? EnergyType { get; set; }
///
/// 型号
///
[SugarColumn(ColumnName="model" )]
public string Model { get; set; }
///
/// 地址
///
[SugarColumn(ColumnName="ip" )]
public string Ip { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName="remark" )]
public string Remark { get; set; }
///
/// 终端在线状态
///
[SugarColumn(ColumnName="online_state" )]
public int? OnlineState { 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; }
///
/// 创建时间
///
[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; }
}
}