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.

98 lines
2.6 KiB
C#

#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.Rfid.Model.dao
* 0C866B68-F538-4BDD-BC99-25D40760AAF1
*
* WenJY
*
* 2025-11-25 13:51:55
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using System.Collections.Generic;
using SqlSugar;
namespace Sln.Rfid.Model.dao
{
/// <summary>
/// 设备信息
/// </summary>
[SugarTable("rfid_device"), TenantAttribute("mes")]
public class BaseDeviceInfo
{
/// <summary>
/// Desc:自增标识
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
public long objid { get; set; }
/// <summary>
/// Desc:设备编号
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnName = "device_code")]
public string deviceCode { get; set; }
/// <summary>
/// Desc:设备名称
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnName = "device_name")]
public string deviceName { get; set; }
/// <summary>
/// Desc:网络地址
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "device_address")]
public string networkAddress { get; set; }
/// <summary>
/// 设备端口
/// </summary>
[SugarColumn(ColumnName = "device_port")]
public int devicePort{get;set;}
/// <summary>
/// 读取频率
/// </summary>
[SugarColumn(ColumnName = "read_frequency")]
public int readFrequency{get;set;}
/// <summary>
/// Desc:设备状态
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "online_status")]
public char deviceStatus { get; set; }
/// <summary>
/// Desc:是否启用
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "is_marked")]
public char isFlag { get; set; }
}
}