2025-06-12 18:41:46 +08:00
|
|
|
using SqlSugar;
|
|
|
|
|
|
2025-06-10 22:13:06 +08:00
|
|
|
namespace PMSWPF.Data.Entities;
|
|
|
|
|
|
2025-06-12 18:41:46 +08:00
|
|
|
[SugarTable("Device")]
|
2025-06-10 22:13:06 +08:00
|
|
|
public class DbDevice
|
|
|
|
|
{
|
2025-06-12 18:41:46 +08:00
|
|
|
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//数据库是自增才配自增
|
2025-06-10 22:13:06 +08:00
|
|
|
public int Id { get; set; }
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string Description { get; set; }
|
2025-06-12 18:41:46 +08:00
|
|
|
public string Ip { get; set; }
|
2025-06-10 22:13:06 +08:00
|
|
|
public bool IsActive { get; set; }
|
|
|
|
|
public bool IsRuning { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|