<?php
namespace Customize\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Short url
*
* @ORM\Entity
* @ORM\Table(name="dtb_vendors")
* @ORM\Entity(repositoryClass="Customize\Repository\VendorRepository")
*/
class Vendor extends \Eccube\Entity\AbstractEntity
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", options={"unsigned":true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
* @ORM\Column(name="vendor_name", type="string", length=255)
*/
private $vendor_name;
/**
* @var string
* @ORM\Column(name="domain", type="string", length=255)
*/
private $domain;
/**
* @var string
* @ORM\Column(name="email", type="string", length=255)
*/
private $email;
/**
* @var string
* @ORM\Column(name="city", type="string", length=255)
*/
private $city;
/**
* @var string
* @ORM\Column(name="country_code", type="string", nullable=true, length=255)
*/
private $country_code;
/**
* @var string
* @ORM\Column(name="address", type="string", nullable=true, length=255)
*/
private $address;
/**
* @var string
* @ORM\Column(name="country_name", type="string", nullable=true, length=255)
*/
private $country_name;
/**
* @var string
* @ORM\Column(name="country_taxes", type="string", nullable=true, length=255)
*/
private $country_taxes;
/**
* @var string
* @ORM\Column(name="currency", type="string", nullable=true)
*/
private $currency;
/**
* @var boolean
* @ORM\Column(name="taxes_included", type="boolean", nullable=true)
*/
private $taxes_included;
/**
* @var string
* @ORM\Column(name="zip", type="string", length=255, nullable=true)
*/
private $zip;
/**
* @var string
* @ORM\Column(name="phone", type="string", length=20)
*/
private $phone;
/**
* @var \DateTime
*
* @ORM\Column(name="create_date", nullable=true, type="datetimetz")
*/
private $create_date;
/**
* @var \DateTime
*
* @ORM\Column(name="update_date", nullable=true, type="datetimetz")
*/
private $update_date;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToOne (targetEntity="Eccube\Entity\Product", mappedBy="Vendor", cascade={"persist","remove"})
*/
private $ProductVendor;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToOne (targetEntity="Eccube\Entity\Member", mappedBy="Vendor", cascade={"persist"})
*/
public $Member;
/**
* @ORM\ManyToOne(targetEntity="Customize\Entity\Master\VendorStatus")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="vendor_status_id", referencedColumnName="id")
* })
*/
public $Status;
public function getId()
{
return $this->id;
}
public function getVendorName()
{
return $this->vendor_name;
}
public function setVendorName($value)
{
$this->vendor_name = $value;
return $this;
}
public function getDomain()
{
return $this->domain;
}
public function setDomain($value)
{
$this->domain = $value;
return $this;
}
public function getEmail()
{
return $this->email;
}
public function setEmail($value)
{
$this->email = $value;
return $this;
}
public function getCity()
{
return $this->city;
}
public function setCity($value)
{
$this->city = $value;
return $this;
}
public function getCountryCode()
{
return $this->country_code;
}
public function setCountryCode($value)
{
$this->country_code = $value;
return $this;
}
public function getCountryName()
{
return $this->country_name;
}
public function setCountryName($value)
{
$this->country_name = $value;
return $this;
}
public function getCountryTaxes()
{
return $this->country_taxes;
}
public function setCountryTaxes($value)
{
$this->country_taxes = $value;
return $this;
}
public function getCurrency()
{
return $this->currency;
}
public function setCurrency($value)
{
$this->currency = $value;
return $this;
}
public function getTaxesIncluded()
{
return $this->taxes_included;
}
public function setTaxesIncluded($value)
{
$this->taxes_included = $value;
return $this;
}
public function getZip()
{
return $this->zip;
}
public function setZip($value)
{
$this->zip = $value;
return $this;
}
public function getPhone()
{
return $this->phone;
}
public function setPhone($value)
{
$this->phone = $value;
return $this;
}
public function getAddress()
{
return $this->address;
}
public function setAddress($value)
{
$this->address = $value;
return $this;
}
}