Kaynağa Gözat

customers MVC v1

customers
Ramdan Katakpawou 2 yıl önce
ebeveyn
işleme
89022911ea
1 değiştirilmiş dosya ile 135 ekleme ve 0 silme
  1. 135
    0
      src/Model/Customers.php

+ 135
- 0
src/Model/Customers.php Dosyayı Görüntüle

@@ -0,0 +1,135 @@
<?php

namespace Shop\Model;

class Customers {

protected $id;
protected $firstname;
protected $lastname;
protected $company;
protected $vatnumber;
protected $street;
protected $street2nd;
protected $zipcode;
protected $city;
protected $state;
protected $country;
protected $container;


public function __construct($container){
$this->container = $container;
}

public function setId($value)
{
$this->id = $value;
}

public function getId()
{
return $this->id;
}

public function setFirstname($value)
{
$this->firstname = $value;
}

public function getFirstname()
{
return $this->firstname;
}

public function setLastname($value)
{
$this->lastname = $value;
}

public function getLastname()
{
return $this->lastname;
}

public function setCompany($value)
{
$this->company = $value;
}

public function getCompany()
{
return $this->company;
}

public function setVatNumber($value)
{
return $this->vatnumber = $value;
}
public function getVatnumber()
{
return $this->vatnumber;
}
public function setStreet($value)
{
return $this->street = $value;
}
public function getStreet()
{
return $this->street;
}

public function setStreet2nd($value)
{
$this->street2nd = $value;
}

public function getStreet2nd()
{
return $this->street2nd;
}

public function setZipcode($value)
{
$this->zipcode = $value;
}

public function getZipcode()
{
return $this->zipcode;
}

public function setCity($value)
{
$this->city = $value;
}

public function getCity()
{
return $this->city;
}

public function setState($value)
{
$this->state = $value;
}

public function getstate()
{
return $this->state;
}

public function setCountry($value)
{
$this->country = $value;
}
public function getCountry()
{
return $this->country;
}


}



Loading…
İptal
Kaydet