Files
DMS/Data/Entities/DbDevice.cs

17 lines
426 B
C#
Raw Normal View History

using SqlSugar;
2025-06-10 22:13:06 +08:00
namespace PMSWPF.Data.Entities;
[SugarTable("Device")]
2025-06-10 22:13:06 +08:00
public class DbDevice
{
[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; }
public string Ip { get; set; }
2025-06-10 22:13:06 +08:00
public bool IsActive { get; set; }
public bool IsRuning { get; set; }
}