ImAlertLevel.cs 1.0 KB

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. namespace CodeFirstExistingDatabaseSample.ISMS_BASE.Models
  4. {
  5. public partial class ImAlertLevel
  6. {
  7. public ImAlertLevel()
  8. {
  9. ImAlertTypes = new HashSet<ImAlertType>();
  10. ImDeviceYxTmps = new HashSet<ImDeviceYxTmp>();
  11. ImDeviceYxes = new HashSet<ImDeviceYx>();
  12. ImEventType2010s = new HashSet<ImEventType2010>();
  13. ImEventTypes = new HashSet<ImEventType>();
  14. }
  15. public string AlertLevelCode { get; set; } = null!;
  16. public string AlertLevelName { get; set; } = null!;
  17. public int Color { get; set; }
  18. public virtual ICollection<ImAlertType> ImAlertTypes { get; set; }
  19. public virtual ICollection<ImDeviceYxTmp> ImDeviceYxTmps { get; set; }
  20. public virtual ICollection<ImDeviceYx> ImDeviceYxes { get; set; }
  21. public virtual ICollection<ImEventType2010> ImEventType2010s { get; set; }
  22. public virtual ICollection<ImEventType> ImEventTypes { get; set; }
  23. }
  24. }