BemsSitePriceHistory.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 BemsSitePriceHistory {
  7. //고지서 등록/조회
  8. [Display(Name = "현장 고유번호"), Key]
  9. public int SiteId { get; set; }
  10. [Display(Name = "연료 타입"), Key]
  11. public short FuelTypeId { get; set; }
  12. [Display(Name = "요금제 타입 id"), Key]
  13. public int PriceTypeId { get; set; }
  14. [Display(Name = "요금제 구성 id"), Key]
  15. [StringLength(20)]
  16. public string PriceCode { get; set; }
  17. [Display(Name = "항목 데이터 값")]
  18. [StringLength(200)]
  19. public string PriceValue { get; set; }
  20. [Display(Name = "연도, 월"), Key]
  21. [StringLength(6)]
  22. public string PayDate { get; set; }
  23. [Display(Name = "시작일")]
  24. public DateTime StartDate { get; set; }
  25. [Display(Name = "종료일")]
  26. public DateTime EndDate { get; set; }
  27. [Display(Name = "청구금액")]
  28. [StringLength(200)]
  29. public string PayCharge { get; set; }
  30. [ForeignKey("FuelTypeId")]
  31. public virtual BemsFuelType FuelType { get; set; }
  32. [ForeignKey("PriceCode")]
  33. public virtual BemsPriceCode PriceCodeNavigation { get; set; }
  34. [ForeignKey("PriceTypeId")]
  35. public virtual BemsPriceType PriceType { get; set; }
  36. [ForeignKey("SiteId")]
  37. public virtual CmSite Site { get; set; }
  38. }
  39. }