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.

70 lines
1.8 KiB
C#

1 month ago
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.Iot.Model.dao
* 0840C4D2-F080-4B20-AB87-CC968CD18BAC
*
* WenJY
*
* 2025-05-27 11:28:05
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using System;
using SqlSugar;
namespace Sln.Iot.Model.dao
{
[SugarTable("device_record_use"), TenantAttribute("iot")]
public class DeviceRecord
{
/// <summary>
/// 编号 ,IsIdentity = true
///</summary>
[SugarColumn(ColumnName="obj_id" ,IsPrimaryKey = true )]
public long objid { get; set; }
/// <summary>
/// 设备编码
/// </summary>
[SugarColumn(ColumnName="device_code" )]
public string deviceCode { get; set; }
/// <summary>
/// 开锁时间
///</summary>
[SugarColumn(ColumnName="open_time" )]
public DateTime openTime { get; set; }
/// <summary>
/// 关锁时间
/// </summary>
[SugarColumn(ColumnName="close_time" )]
public DateTime closeTime { get; set; }
/// <summary>
/// 使用时间
/// </summary>
[SugarColumn(ColumnName="use_time" )]
public decimal useTime { get; set; }
/// <summary>
/// 使用状态
/// </summary>
[SugarColumn(ColumnName="use_state" )]
public char useState{get;set;}
}
}