BemsFormulaBase.cs 789 B

123456789101112131415161718192021222324
  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 BemsFormulaBase {
  7. public BemsFormulaBase() {
  8. Formulas = new HashSet<BemsFormula>();
  9. }
  10. //성능분석식 기초정보
  11. [Display(Name = "설비종류"), Key]
  12. public int FacilityTypeId { get; set; }
  13. [Display(Name = "수식 고유번호"), Key]
  14. public int FormulaId { get; set; }
  15. [Display(Name = "수식 이름"), Required]
  16. [StringLength(32)]
  17. public string Name { get; set; }
  18. [InverseProperty("FormulaBase")]
  19. public virtual ICollection<BemsFormula> Formulas { get; set; }
  20. }
  21. }