clients.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан по шаблону.
  4. //
  5. // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
  6. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace DontHarmDesktop.Models
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class clients
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public clients()
  17. {
  18. this.invoices = new HashSet<invoices>();
  19. this.orders = new HashSet<orders>();
  20. }
  21. public int id { get; set; }
  22. public int type { get; set; }
  23. public string login { get; set; }
  24. public string password { get; set; }
  25. public string surname { get; set; }
  26. public string name { get; set; }
  27. public string patronymic { get; set; }
  28. public Nullable<System.DateTime> birthdate { get; set; }
  29. public Nullable<int> passport_series { get; set; }
  30. public Nullable<int> passport_number { get; set; }
  31. public string phone { get; set; }
  32. public string email { get; set; }
  33. public string company_name { get; set; }
  34. public string company_address { get; set; }
  35. public int inn { get; set; }
  36. public int account { get; set; }
  37. public int bik { get; set; }
  38. public bool hidden { get; set; }
  39. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  40. public virtual ICollection<invoices> invoices { get; set; }
  41. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  42. public virtual ICollection<orders> orders { get; set; }
  43. }
  44. }