FmsConstructionCodeType.cs 749 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace FMSAdmin.Entities
  6. {
  7. public partial class FmsConstructionCodeType
  8. {
  9. public FmsConstructionCodeType()
  10. {
  11. FmsConstruction = new HashSet<FmsConstruction>();
  12. }
  13. [Key]
  14. public int SiteId { get; set; }
  15. [Key]
  16. public int ConstructionTypeId { get; set; }
  17. [Required]
  18. [StringLength(24)]
  19. public string Name { get; set; }
  20. public bool IsUse { get; set; }
  21. [InverseProperty("FmsConstructionCodeType")]
  22. public virtual ICollection<FmsConstruction> FmsConstruction { get; set; }
  23. }
  24. }