BemsMonitoringPointHistoryHourly.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 BemsMonitoringPointHistoryHourly {
  7. //시간별 관제점 데이터
  8. [Display(Name = "현장 고유번호"), Key]
  9. public int SiteId { get; set; }
  10. [Display(Name = "대상 설비의 타입 ID")]
  11. public int FacilityTypeId { get; set; }
  12. [Display(Name = "대상 설비의 Code"), Key]
  13. public int FacilityCode { get; set; }
  14. [Display(Name = "대상 설비의 PropertyId"), Key]
  15. public int PropertyId { get; set; }
  16. [Display(Name = "DB 등록 시간"), Key]
  17. public DateTime CreatedDateTime { get; set; }
  18. [Display(Name = "현재값")]
  19. public double CurrentValue { get; set; }
  20. [ForeignKey("SiteId,FacilityCode,PropertyId")]
  21. public virtual BemsMonitoringPoint BemsMonitoringPoint { get; set; }
  22. [ForeignKey("FacilityTypeId")]
  23. public virtual BemsFacilityType FacilityType { get; set; }
  24. [NotMapped]
  25. [Display(Name = "이전검침값")]
  26. public double PrevPinValue { get; set; }
  27. [NotMapped]
  28. [Display(Name = "현재검침값")]
  29. public double CurrentPinValue { get; set; }
  30. [NotMapped]
  31. [Display(Name = "배수")]
  32. public double Multiple { get; set; }
  33. }
  34. }