BemsControlPointHistory.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132
  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 BemsControlPointHistory {
  7. [Display(Name = "현장 고유번호"), Key]
  8. public int SiteId { get; set; }
  9. [Display(Name = "설비 종류"), Key]
  10. public int FacilityTypeId { get; set; }
  11. [Display(Name = "설비 코드"), Key]
  12. public int FacilityCode { get; set; }
  13. [Display(Name = "설비속성 고유번호"), Key]
  14. public int PropertyId { get; set; }
  15. [Display(Name = "목표 온도 설정 시점"), Key]
  16. public DateTime CreateDateTime { get; set; }
  17. [Display(Name = "제어 값"), Required]
  18. public double ControlValue { get; set; }
  19. [Display(Name = "제어명령을 생성한 서비스명")]
  20. [StringLength(64)]
  21. public string WriteServiceName { get; set; }
  22. [Display(Name = "제어명령이 확인 시각")]
  23. public DateTime? ActionDateTime { get; set; }
  24. [ForeignKey("SiteId,FacilityCode,PropertyId")]
  25. public virtual BemsMonitoringPoint BemsMonitoringPoint { get; set; }
  26. [ForeignKey(nameof(FacilityTypeId))]
  27. public virtual BemsFacilityType FacilityType { get; set; }
  28. }
  29. }