ImStation.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. namespace CodeFirstExistingDatabaseSample.ISMS_BASE.Models
  4. {
  5. public partial class ImStation
  6. {
  7. public ImStation()
  8. {
  9. IaMonitorAreas = new HashSet<IaMonitorArea>();
  10. IaStatAccCtlers = new HashSet<IaStatAccCtler>();
  11. IaStatAidVideoDevs = new HashSet<IaStatAidVideoDev>();
  12. ImGateWays = new HashSet<ImGateWay>();
  13. ImNoticeBoards = new HashSet<ImNoticeBoard>();
  14. ImProtectDevices = new HashSet<ImProtectDevice>();
  15. ImSheBeis = new HashSet<ImSheBei>();
  16. ImVariantBools = new HashSet<ImVariantBool>();
  17. }
  18. public string StatCode { get; set; } = null!;
  19. public string PrjId { get; set; } = null!;
  20. public string StatName { get; set; } = null!;
  21. public int SeqNo { get; set; }
  22. public virtual ImProject Prj { get; set; } = null!;
  23. public virtual ICollection<IaMonitorArea> IaMonitorAreas { get; set; }
  24. public virtual ICollection<IaStatAccCtler> IaStatAccCtlers { get; set; }
  25. public virtual ICollection<IaStatAidVideoDev> IaStatAidVideoDevs { get; set; }
  26. public virtual ICollection<ImGateWay> ImGateWays { get; set; }
  27. public virtual ICollection<ImNoticeBoard> ImNoticeBoards { get; set; }
  28. public virtual ICollection<ImProtectDevice> ImProtectDevices { get; set; }
  29. public virtual ICollection<ImSheBei> ImSheBeis { get; set; }
  30. public virtual ICollection<ImVariantBool> ImVariantBools { get; set; }
  31. }
  32. }