BemsDeviceRunHourly.cs 1.7 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 BemsDeviceRunHourly {
  7. public BemsDeviceRunHourly() {
  8. BemsDeviceRunHourlyCombine = new HashSet<BemsDeviceRunHourlyCombine>();
  9. BemsDeviceRunHourlyCost = new HashSet<BemsDeviceRunHourlyCost>();
  10. }
  11. //냉난방 운전최적제어
  12. [Display(Name = "현장고유번호"), Key]
  13. public int SiteId { get; set; }
  14. [Display(Name = "건물번호"), Key]
  15. public int BuildingId { get; set; }
  16. [Display(Name = "냉난방구분"), Key]
  17. public short ServiceTypeId { get; set; }
  18. [Display(Name = "운전일자"), Key]
  19. public DateTime RunDate { get; set; }
  20. [Display(Name = "온도")]
  21. public double? Temperature { get; set; }
  22. [Display(Name = "부하량")]
  23. public int? Loads { get; set; }
  24. [Display(Name = "생산칼로리")]
  25. public int? Calorie { get; set; }
  26. [Display(Name = "습도")]
  27. public double? Humidity { get; set; }
  28. [ForeignKey("SiteId,BuildingId")]
  29. public virtual CmBuilding CmBuilding { get; set; }
  30. [ForeignKey(nameof(ServiceTypeId))]
  31. public virtual BemsServiceType ServiceType { get; set; }
  32. [InverseProperty("BemsDeviceRunHourly")]
  33. public virtual ICollection<BemsDeviceRunHourlyCombine> BemsDeviceRunHourlyCombine { get; set; }
  34. [InverseProperty("BemsDeviceRunHourly")]
  35. public virtual ICollection<BemsDeviceRunHourlyCost> BemsDeviceRunHourlyCost { get; set; }
  36. }
  37. }