BemsValueType.cs 862 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 BemsValueType {
  7. public BemsValueType() {
  8. BemsMonitoringPoint = new HashSet<BemsMonitoringPoint>();
  9. //BemsMonitoringPointBaseData = new HashSet<BemsMonitoringPointBaseData>();
  10. }
  11. [Key]
  12. public int ValueType { get; set; }
  13. [StringLength(48), Display(Name = "값명")]
  14. public string Name { get; set; }
  15. //[InverseProperty("ValueType")]
  16. public virtual ICollection<BemsMonitoringPoint> BemsMonitoringPoint { get; set; }
  17. // [InverseProperty("ValueType")]
  18. // public virtual ICollection<BemsMonitoringPointBaseData> BemsMonitoringPointBaseData { get; set; }
  19. }
  20. }