using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZhongLianModel
{
///
/// 设备实体
///
[SugarTable("TPRZ_Device")]
public class DeviceDO
{
///
/// 设备编号
///
[SugarColumn(IsPrimaryKey = true, Length = 64)]
public string? Id { get; set; }
///
/// 工程
///
[SugarColumn(Length = 64, IsNullable = true)]
public string? ProjectId { get; set; }
///
/// GPS数组
///
[SugarColumn(Length = 500, IsNullable = true, IsJson = true)]
public IEnumerable? Gps { get; set; }
///
/// 删除标识
///
[SugarColumn(Length = 1, IsNullable = true)]
public int? Deleted { get; set; }
}
public class DeviceGpsDO
{
///
/// GPS编号
///
public string? Id { get; set; }
///
/// GPS名称
///
public string? Name { get; set; }
///
/// 设备编号
///
public string? DeviceId { get; set; }
///
/// 博瓦监控设备编号
///
public string? Bw { get; set; }
public string? Bw1 { get; set; }
}
}