BemsMonitoringPointBaseData.cs 1.5 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 BemsMonitoringPointBaseData {
  7. //모니터링 관제점 기초정보
  8. [Display(Name = "설비종류"), Key]
  9. public int FacilityTypeId { get; set; }
  10. [Display(Name = "설비속성고유번호"), Key]
  11. public int PropertyId { get; set; }
  12. [Display(Name = "값 형식"), Required]
  13. public int ValueType { get; set; }
  14. [Display(Name = "누적여부"), Required]
  15. public bool IsAccumulated { get; set; }
  16. [Display(Name = "용도")]
  17. public short? ServiceTypeId { get; set; }
  18. [Display(Name = "연료 고유번호")]
  19. public short? FuelTypeId { get; set; }
  20. [Display(Name = "관제점 이름")]
  21. [StringLength(64)]
  22. public string Name { get; set; }
  23. [Display(Name = "관제점 설명")]
  24. [StringLength(256)]
  25. public string Description { get; set; }
  26. [Display(Name = "평균값 처리 여부")]
  27. public bool? IsSampled { get; set; }
  28. [Display(Name = "변환 여부")]
  29. public bool? IsConverted { get; set; }
  30. [ForeignKey("FacilityTypeId")]
  31. public virtual BemsFacilityType FacilityType { get; set; }
  32. [ForeignKey("FuelTypeId")]
  33. public virtual BemsFuelType FuelType { get; set; }
  34. [ForeignKey("ServiceTypeId")]
  35. public virtual BemsServiceType ServiceType { get; set; }
  36. }
  37. }