BemsPeakFacility.cs 693 B

1234567891011121314151617181920
  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 BemsPeakFacility {
  7. //최대전력 관제점 설비 목록
  8. [Display(Name = "현장 고유번호"), Key]
  9. public int SiteId { get; set; }
  10. [Display(Name = "피크 발생 시간"), Key]
  11. public DateTime MaxDateTime { get; set; }
  12. [Display(Name = "피크발생 설비 고유 번호"), Key]
  13. public int FacilityCode { get; set; }
  14. [ForeignKey("SiteId,FacilityCode")]
  15. public virtual CmFacility CmFacility { get; set; }
  16. }
  17. }