Files
work/LC_Api/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
698 B
C#

using System.ComponentModel.DataAnnotations;
namespace LC_Api
{
public class Error
{
[Key]
public Guid Id { get; set; }
public string? TypeDev { get; set; }
public int MsgId { get; set; }
public string? Status { get; set; }
public string? Name { get; set; }
public string? Ip { get; set; }
public string? Map { 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
}
}