BemsEnergyGoalDaily.cs 744 B

123456789101112131415161718192021
  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 BemsEnergyGoalDaily {
  7. //일별에너지 목표사용량
  8. [Display(Name = "현장 고유번호"), Key]
  9. public int SiteId { get; set; }
  10. [Display(Name = "건물번호"), Key]
  11. public int BuildingId { get; set; }
  12. [Display(Name = "냉난방 구분"), Key]
  13. public DateTime CreatedDate { get; set; }
  14. [Display(Name = "에너지 타입")]
  15. public int Goal { get; set; }
  16. [ForeignKey("SiteId,BuildingId")]
  17. public virtual CmBuilding CmBuilding { get; set; }
  18. }
  19. }