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