BemsMonitoringPointConfig.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  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 BemsMonitoringPointConfig {
  7. //관제점 포인트 정리
  8. [Display(Name = "현장 고유번호"), Key]
  9. public int SiteId { get; set; }
  10. [Display(Name = "설비종류"), Key]
  11. public int FacilityTypeId { get; set; }
  12. [Display(Name = "설비코드"), Key]
  13. public int FacilityCode { get; set; }
  14. [Display(Name = "설비속성고유번호"), Key]
  15. public int PropertyId { get; set; }
  16. [Display(Name = "누적여부")]
  17. public bool? IsAccumulated { get; set; }
  18. [Display(Name = "평균값 처리 여부")]
  19. public bool IsSampled { get; set; }
  20. [Display(Name = "저장 모드")]
  21. public int SaveMode { get; set; }
  22. [Display(Name = "제어관제점 이름")]
  23. [StringLength(200)]
  24. public string ControlPointName { get; set; }
  25. [Display(Name = "변환여부")]
  26. public bool IsConverted { get; set; }
  27. [ForeignKey("SiteId,FacilityCode,PropertyId")]
  28. public virtual BemsMonitoringPoint BemsMonitoringPoint { get; set; }
  29. [ForeignKey("FacilityTypeId")]
  30. public virtual BemsFacilityType FacilityType { get; set; }
  31. }
  32. }