using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace WPFWCSDemo.Models.Tables
{
///
/// 历史报警
///
public class AlarmHistory
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[AllowNull]
public Guid Id { get; set; } = Guid.NewGuid();
///
/// 报警名称
///
public string? Point_Id { get; set; }
///
/// 报警信息
///
public string? Description { get; set; }
///
/// 优先级
///
[AllowNull]
public string? Priority { get; set; }
///
/// 设备类别
///
public string? Device_Id { get; set; }
///
/// 开始时间
///
[AllowNull]
public DateTime? Gen_Time { get; set; }
///
/// 复位时间
///
//public DateTime? Reset_Time { get; set; }
///
/// 删除时间
///
//public DateTime? Delete_Time { get; set; }
///
/// 结束时间
///
public DateTime? End_Time { get; set; }
}
}