using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Models
{
///
///
///
[SugarTable("base_device_info")]
public class Base_device_info
{
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="deviceid" ,IsPrimaryKey = true) ]
public string Deviceid { get; set; } = null!;
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="name" ) ]
public string? Name { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="connectstr" ) ]
public string? Connectstr { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="connectmode" ) ]
public decimal? Connectmode { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="devicetype" ) ]
public string? Devicetype { get; set; }
///
/// 备 注:所属汇集软件ID
/// 默认值:
///
[SugarColumn(ColumnName="collectid" ) ]
public string? Collectid { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="addr" ) ]
public string? Addr { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="mapid" ) ]
public string? Mapid { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="recordtime" ) ]
public DateTime? Recordtime { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="deleteflag" ) ]
public int? Deleteflag { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="recordperson" ) ]
public int? Recordperson { get; set; }
///
/// 备 注:
/// 默认值:
///
[SugarColumn(ColumnName="objid" ,IsIdentity = true) ]
public int Objid { get; set; }
public string State = "未连接";
}
}