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
    }
}
