|
|
@@ -2,6 +2,8 @@ |
|
|
|
|
|
|
|
namespace Shop\Model; |
|
|
|
|
|
|
|
use Shop\DB\myDB; |
|
|
|
|
|
|
|
class Clients |
|
|
|
{ |
|
|
|
protected $id; |
|
|
@@ -15,4 +17,43 @@ class Clients |
|
|
|
protected $city; |
|
|
|
protected $state; |
|
|
|
protected $country; |
|
|
|
protected $container; |
|
|
|
|
|
|
|
public function __construct($container) { |
|
|
|
$this->container = $container; |
|
|
|
} |
|
|
|
|
|
|
|
public function setId($value) { |
|
|
|
$this->id = $value; |
|
|
|
} |
|
|
|
public function setFirstname($value) { |
|
|
|
$this->firstname = $value; |
|
|
|
} |
|
|
|
public function setLastname($value) { |
|
|
|
$this->lastname = $value; |
|
|
|
} |
|
|
|
public function setCompany($value) { |
|
|
|
$this->company = $value; |
|
|
|
} |
|
|
|
public function setVatnumber($value) { |
|
|
|
$this->vatnumber = $value; |
|
|
|
} |
|
|
|
public function setStreet($value) { |
|
|
|
$this->street = $value; |
|
|
|
} |
|
|
|
public function setStreet2($value) { |
|
|
|
$this->street2 = $value; |
|
|
|
} |
|
|
|
public function setZipcode($value) { |
|
|
|
$this->zipcode = $value; |
|
|
|
} |
|
|
|
public function setCity($value) { |
|
|
|
$this->city = $value; |
|
|
|
} |
|
|
|
public function setState($value) { |
|
|
|
$this->state = $value; |
|
|
|
} |
|
|
|
public function setCountry($value) { |
|
|
|
$this->country = $value; |
|
|
|
} |
|
|
|
} |