BemsServiceType.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace FMSAdmin.Entities {
  6. public partial class BemsServiceType {
  7. public BemsServiceType() {
  8. BemsDeviceRunHistory = new HashSet<BemsDeviceRunHistory>();
  9. BemsDeviceRunHourly = new HashSet<BemsDeviceRunHourly>();
  10. BemsEnergyDaily = new HashSet<BemsEnergyDaily>();
  11. BemsLoadsHourly = new HashSet<BemsLoadsHourly>();
  12. BemsMonitoringPoint = new HashSet<BemsMonitoringPoint>();
  13. BemsMonitoringPointBaseData = new HashSet<BemsMonitoringPointBaseData>();
  14. BemsZoneActivate = new HashSet<BemsZoneActivate>();
  15. }
  16. //관제점 용도 타입
  17. [Display(Name = "관제점 용도 타입ID"), Key]
  18. public short? ServiceTypeId { get; set; }
  19. [Display(Name = "관제점 용도 이름")]
  20. [StringLength(48)]
  21. public string Name { get; set; }
  22. [InverseProperty("ServiceType")]
  23. public virtual ICollection<BemsDeviceRunHistory> BemsDeviceRunHistory { get; set; }
  24. [InverseProperty("ServiceType")]
  25. public virtual ICollection<BemsDeviceRunHourly> BemsDeviceRunHourly { get; set; }
  26. [InverseProperty("ServiceType")]
  27. public virtual ICollection<BemsEnergyDaily> BemsEnergyDaily { get; set; }
  28. [InverseProperty("ServiceType")]
  29. public virtual ICollection<BemsLoadsHourly> BemsLoadsHourly { get; set; }
  30. [InverseProperty("ServiceType")]
  31. public virtual ICollection<BemsMonitoringPoint> BemsMonitoringPoint { get; set; }
  32. [InverseProperty("ServiceType")]
  33. public virtual ICollection<BemsMonitoringPointBaseData> BemsMonitoringPointBaseData { get; set; }
  34. [InverseProperty("ServiceType")]
  35. public virtual ICollection<BemsZoneActivate> BemsZoneActivate { get; set; }
  36. }
  37. }