using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.DB.Models; using WIDESEA_Core.Enums; namespace WIDESEA_Model.Models { [SugarTable(nameof(Dt_Equipment), "AGV告警信息")] public class Dt_Equipment : BaseEntity { [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "设备id")] public string deviceId { get; set; } [SugarColumn(IsNullable = false, Length = 255, ColumnDescription = "设备名称")] public string deviceName { get; set; } [SugarColumn(IsNullable = false, Length = 255, ColumnDescription = "任务号")] public string taskNo { get; set; } [SugarColumn(IsNullable = false, Length = 255, ColumnDescription = "告警id")] public string eventId { get; set; } [SugarColumn(IsNullable = false, Length = 255, ColumnDescription = "告警标题")] public string title { get; set; } [SugarColumn(IsNullable = false, Length = 255, ColumnDescription = "告警内容")] public string message { get; set; } [SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "告警状态")] public string status { get; set; } } }