Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?php
  2. namespace Shop\Model;
  3. use Shop\DB\myDB;
  4. class Clients
  5. {
  6. protected $id;
  7. protected $firstname;
  8. protected $lastname;
  9. protected $company;
  10. protected $vatnumber;
  11. protected $street;
  12. protected $street2;
  13. protected $zipcode;
  14. protected $city;
  15. protected $state;
  16. protected $country;
  17. protected $container;
  18. public function __construct($container) {
  19. $this->container = $container;
  20. }
  21. public function setId($value) {
  22. $this->id = $value;
  23. }
  24. public function getId() {
  25. return $this->id;
  26. }
  27. public function setFirstname($value) {
  28. $this->firstname = $value;
  29. }
  30. public function getFirstname() {
  31. return $this->firstname;
  32. }
  33. public function setLastname($value) {
  34. $this->lastname = $value;
  35. }
  36. public function getLastname() {
  37. return $this->lastname;
  38. }
  39. public function setCompany($value) {
  40. $this->company = $value;
  41. }
  42. public function getCompany() {
  43. return $this->company;
  44. }
  45. public function setVatnumber($value) {
  46. $this->vatnumber = $value;
  47. }
  48. public function getVatnumber() {
  49. return $this->vatnumber;
  50. }
  51. public function setStreet($value) {
  52. $this->street = $value;
  53. }
  54. public function getStreet() {
  55. return $this->street;
  56. }
  57. public function setStreet2($value) {
  58. $this->street2 = $value;
  59. }
  60. public function getStreet2() {
  61. return $this->street2;
  62. }
  63. public function setZipcode($value) {
  64. $this->zipcode = $value;
  65. }
  66. public function getZipcode() {
  67. return $this->zipcode;
  68. }
  69. public function setCity($value) {
  70. $this->city = $value;
  71. }
  72. public function getCity() {
  73. return $this->city;
  74. }
  75. public function setState($value) {
  76. $this->state = $value;
  77. }
  78. public function getState() {
  79. return $this->state;
  80. }
  81. public function setCountry($value) {
  82. $this->country = $value;
  83. }
  84. public function getCountry() {
  85. return $this->country;
  86. }
  87. }