employye.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. namespace praktika_2
  2. {
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel.DataAnnotations.Schema;
  7. using System.Data.Entity.Spatial;
  8. [Table("employye")]
  9. public partial class employye
  10. {
  11. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  12. public employye()
  13. {
  14. info_move = new HashSet<info_move>();
  15. material_value_pod_pechat = new HashSet<material_value_pod_pechat>();
  16. }
  17. [DatabaseGenerated(DatabaseGeneratedOption.None)]
  18. public int id { get; set; }
  19. public string FIO { get; set; }
  20. public int? id_build { get; set; }
  21. public virtual building building { get; set; }
  22. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  23. public virtual ICollection<info_move> info_move { get; set; }
  24. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  25. public virtual ICollection<material_value_pod_pechat> material_value_pod_pechat { get; set; }
  26. }
  27. }