material_value_accounting.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. public partial class material_value_accounting
  9. {
  10. [DatabaseGenerated(DatabaseGeneratedOption.None)]
  11. public int id { get; set; }
  12. public int? id_material_value { get; set; }
  13. public int count { get; set; }
  14. [Required]
  15. [StringLength(50)]
  16. public string number_document { get; set; }
  17. public int? id_organization { get; set; }
  18. [Column(TypeName = "money")]
  19. public decimal? price { get; set; }
  20. public int? size_mat_val { get; set; }
  21. public int? width { get; set; }
  22. public int? lenght { get; set; }
  23. public int? height { get; set; }
  24. [Required]
  25. [StringLength(20)]
  26. public string number_series { get; set; }
  27. [StringLength(120)]
  28. public string note { get; set; }
  29. public virtual material_value material_value { get; set; }
  30. public virtual organizations organizations { get; set; }
  31. }
  32. }