You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using SqlSugar;
|
|
namespace Models
|
|
{
|
|
/// <summary>
|
|
///
|
|
///</summary>
|
|
[SugarTable("base_device_state")]
|
|
public class Base_device_state
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName="Id" ,IsPrimaryKey = true,IsIdentity = true) ]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备 注:
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName="deviceId" ) ]
|
|
public int DeviceId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备 注:设备连接状态 0为未连接 1为连接
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName="deviceState" ) ]
|
|
public int? DeviceState { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备 注:
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName="deviceTime" ) ]
|
|
public DateTime? DeviceTime { get; set; }
|
|
|
|
|
|
}
|
|
|
|
} |