using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace FMSAdmin.Entities { public partial class BemsPriceType { public BemsPriceType() { BemsPriceFormula = new HashSet(); BemsPriceMeta = new HashSet(); BemsSitePrice = new HashSet(); BemsSitePriceHistory = new HashSet(); FmsEnergyAnalysis = new HashSet(); } //요금 유형 [Display(Name = "요금 타입 ID"), Key] public int PriceTypeId { get; set; } [Display(Name = "요금 유형 이름")] [StringLength(200)] public string PriceTypeIdDesc { get; set; } [Display(Name = "에너지 타입 Id (전력, 가스, 수도)"), Key] public short? FuelTypeId { get; set; } [ForeignKey("FuelTypeId")] public virtual BemsFuelType FuelType { get; set; } [InverseProperty("PriceType")] public virtual ICollection BemsPriceFormula { get; set; } [InverseProperty("PriceType")] public virtual ICollection BemsPriceMeta { get; set; } [InverseProperty("PriceType")] public virtual ICollection BemsSitePrice { get; set; } [InverseProperty("PriceType")] public virtual ICollection BemsSitePriceHistory { get; set; } [InverseProperty("PriceType")] public virtual ICollection FmsEnergyAnalysis { get; set; } } }