FmsEnergyAnalysis.cs 1.2 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 FmsEnergyAnalysis {
  7. public FmsEnergyAnalysis() {
  8. }
  9. [Display(Name = "현장 고유번호"), Key]
  10. public int SiteId { get; set; }
  11. [Display(Name = "에너지 종류 고유번호"), Key]
  12. public short FuelTypeId { get; set; }
  13. [Display(Name = "에너지 종류 상세번호(전력-일반/심야/산업) - 사용X"), Key]
  14. public int FuelPriceId { get; set; }
  15. [Display(Name = "요금제 고유번호"), Key]
  16. public int PriceTypeId { get; set; }
  17. [Display(Name = "연도"), Key]
  18. public int Year { get; set; }
  19. [Display(Name = "월"), Key]
  20. public int Month { get; set; }
  21. [Display(Name = "증감이유")]
  22. public string Content { get; set; }
  23. [ForeignKey("SiteId")]
  24. public virtual CmSite CmSite { get; set; }
  25. [ForeignKey("FuelTypeId")]
  26. public virtual BemsFuelType FuelType { get; set; }
  27. [ForeignKey("PriceTypeId")]
  28. public virtual BemsPriceType PriceType { get; set; }
  29. }
  30. }