namespace praktika_2 { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class material_value { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public material_value() { ind_characteristic = new HashSet(); material_value_accounting = new HashSet(); material_value_pod_pechat = new HashSet(); } [DatabaseGenerated(DatabaseGeneratedOption.None)] public int id { get; set; } [Required] [StringLength(50)] public string mat_value { get; set; } public int? id_category { get; set; } [Required] [StringLength(20)] public string unit_of_meas { get; set; } public int? count { get; set; } [StringLength(50)] public string number_document { get; set; } public string Invent_number { get; set; } public string info { get; set; } public int? ID_org { get; set; } public virtual category category { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ind_characteristic { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection material_value_accounting { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection material_value_pod_pechat { get; set; } } }