123456789101112131415161718192021222324252627282930313233 |
- namespace praktika_2
- {
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.Data.Entity.Spatial;
- [Table("building")]
- public partial class building
- {
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
- public building()
- {
- employye = new HashSet<employye>();
- info_move = new HashSet<info_move>();
- }
- [Key]
- [DatabaseGenerated(DatabaseGeneratedOption.None)]
- public int id_building { get; set; }
- [Required]
- [StringLength(50)]
- public string name { get; set; }
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
- public virtual ICollection<employye> employye { get; set; }
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
- public virtual ICollection<info_move> info_move { get; set; }
- }
- }
|