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_accounting { [DatabaseGenerated(DatabaseGeneratedOption.None)] public int id { get; set; } public int? id_material_value { get; set; } public int count { get; set; } [Required] [StringLength(50)] public string number_document { get; set; } public int? id_organization { get; set; } [Column(TypeName = "money")] public decimal? price { get; set; } public int? size_mat_val { get; set; } public int? width { get; set; } public int? lenght { get; set; } public int? height { get; set; } [Required] [StringLength(20)] public string number_series { get; set; } [StringLength(120)] public string note { get; set; } public virtual material_value material_value { get; set; } public virtual organizations organizations { get; set; } } }