Files
work/LC_AddCheckToDb/Models/Error.cs
T
astankovmi bf51924adb
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13s
add projects
2026-03-18 15:37:59 +03:00

35 lines
713 B
C#

using System.ComponentModel.DataAnnotations;
using System.Reflection.Metadata;
namespace LC_AddCheckToDb.Models
{
public class Error
{
[Key]
public int Id { get; set; }
public typeDev TypeDev { get; set; }
public int? MsgId { get; set; }
public statusDev? Status { get; set; }
public string? Name { get; set; }
public string? Ip { get; set; }
public DateTime? DataError { get; set; }
}
public enum typeDev
{
Unknown = 0,
Camera,
SABRA,
vServer,
Server,
Switch,
DVR,
ARM
}
public enum statusDev
{
Off = 0,
On,
Unknown
}
}