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.
|
|
|
|
#region << 版 本 注 释 >>
|
|
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------------
|
|
|
|
|
* 版权所有 (c) 2025 WenJY 保留所有权利。
|
|
|
|
|
* CLR版本:4.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;}
|
|
|
|
|
}
|
|
|
|
|
}
|