2025-07-21 14:35:17 +08:00
|
|
|
|
using SqlSugar;
|
2025-06-20 18:53:29 +08:00
|
|
|
|
|
2025-07-18 22:21:16 +08:00
|
|
|
|
namespace DMS.Infrastructure.Entities;
|
2025-06-20 18:53:29 +08:00
|
|
|
|
|
2025-07-21 14:35:17 +08:00
|
|
|
|
[SugarTable("VariableTables")]
|
2025-06-20 18:53:29 +08:00
|
|
|
|
public class DbVariableTable
|
|
|
|
|
|
{
|
2025-07-21 14:35:17 +08:00
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
2025-06-23 17:01:06 +08:00
|
|
|
|
public int Id { get; set; }
|
2025-07-03 13:17:25 +08:00
|
|
|
|
public string Name { get; set; }
|
2025-07-21 14:35:17 +08:00
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
public bool IsActive { get; set; }
|
|
|
|
|
|
public int DeviceId { get; set; }
|
|
|
|
|
|
public int Protocol { get; set; } // 对应 ProtocolType 枚举
|
2025-06-20 18:53:29 +08:00
|
|
|
|
}
|