BemsMonitoringPointHistory15minRawData.cs 1.1 KB

123456789101112131415161718192021222324252627
  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 BemsMonitoringPointHistory15minRawData {
  7. //15분 단위 관제점 적산값
  8. [Display(Name = "현장 고유번호"), Key]
  9. public int SiteId { get; set; }
  10. [Display(Name = "대상 설비의 타입 ID"), Key]
  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 = "적산값"), Required]
  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. }
  25. }