app/Customize/Entity/Vendor.php line 14

Open in your IDE?
  1. <?php
  2. namespace Customize\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Short url
  6.  *
  7.  * @ORM\Entity
  8.  * @ORM\Table(name="dtb_vendors")
  9.  * @ORM\Entity(repositoryClass="Customize\Repository\VendorRepository")
  10.  */
  11. class Vendor extends \Eccube\Entity\AbstractEntity
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer", options={"unsigned":true})
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="IDENTITY")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var string
  23.      * @ORM\Column(name="vendor_name", type="string", length=255)
  24.      */
  25.     private $vendor_name;
  26.     /**
  27.      * @var string
  28.      * @ORM\Column(name="domain", type="string", length=255)
  29.      */
  30.     private $domain;
  31.     /**
  32.      * @var string
  33.      * @ORM\Column(name="email", type="string", length=255)
  34.      */
  35.     private $email;
  36.     /**
  37.      * @var string
  38.      * @ORM\Column(name="city", type="string", length=255)
  39.      */
  40.     private $city;
  41.     /**
  42.      * @var string
  43.      * @ORM\Column(name="country_code", type="string", nullable=true, length=255)
  44.      */
  45.     private $country_code;
  46.     /**
  47.      * @var string
  48.      * @ORM\Column(name="address", type="string", nullable=true, length=255)
  49.      */
  50.     private $address;
  51.     /**
  52.      * @var string
  53.      * @ORM\Column(name="country_name", type="string", nullable=true, length=255)
  54.      */
  55.     private $country_name;
  56.     /**
  57.      * @var string
  58.      * @ORM\Column(name="country_taxes", type="string", nullable=true, length=255)
  59.      */
  60.     private $country_taxes;
  61.     /**
  62.      * @var string
  63.      * @ORM\Column(name="currency", type="string", nullable=true)
  64.      */
  65.     private $currency;
  66.     /**
  67.      * @var boolean
  68.      * @ORM\Column(name="taxes_included", type="boolean", nullable=true)
  69.      */
  70.     private $taxes_included;
  71.     /**
  72.      * @var string
  73.      * @ORM\Column(name="zip", type="string", length=255, nullable=true)
  74.      */
  75.     private $zip;
  76.     /**
  77.      * @var string
  78.      * @ORM\Column(name="phone", type="string", length=20)
  79.      */
  80.     private $phone;
  81.     /**
  82.      * @var \DateTime
  83.      *
  84.      * @ORM\Column(name="create_date", nullable=true, type="datetimetz")
  85.      */
  86.     private $create_date;
  87.     /**
  88.      * @var \DateTime
  89.      *
  90.      * @ORM\Column(name="update_date", nullable=true, type="datetimetz")
  91.      */
  92.     private $update_date;
  93.     /**
  94.      * @var \Doctrine\Common\Collections\Collection
  95.      *
  96.      * @ORM\OneToOne (targetEntity="Eccube\Entity\Product", mappedBy="Vendor", cascade={"persist","remove"})
  97.      */
  98.     private $ProductVendor;
  99.     /**
  100.      * @var \Doctrine\Common\Collections\Collection
  101.      *
  102.      * @ORM\OneToOne (targetEntity="Eccube\Entity\Member", mappedBy="Vendor", cascade={"persist"})
  103.      */
  104.     public $Member;
  105.     /**
  106.      * @ORM\ManyToOne(targetEntity="Customize\Entity\Master\VendorStatus")
  107.      * @ORM\JoinColumns({
  108.      *  @ORM\JoinColumn(name="vendor_status_id", referencedColumnName="id")
  109.      * })
  110.      */
  111.     public $Status;
  112.     public function getId()
  113.     {
  114.         return $this->id;
  115.     }
  116.     public function getVendorName()
  117.     {
  118.         return $this->vendor_name;
  119.     }
  120.     public function setVendorName($value)
  121.     {
  122.         $this->vendor_name $value;
  123.         return $this;
  124.     }
  125.     public function getDomain()
  126.     {
  127.         return $this->domain;
  128.     }
  129.     public function setDomain($value)
  130.     {
  131.         $this->domain $value;
  132.         return $this;
  133.     }
  134.     public function getEmail()
  135.     {
  136.         return $this->email;
  137.     }
  138.     public function setEmail($value)
  139.     {
  140.         $this->email $value;
  141.         return $this;
  142.     }
  143.     public function getCity()
  144.     {
  145.         return $this->city;
  146.     }
  147.     public function setCity($value)
  148.     {
  149.         $this->city $value;
  150.         return $this;
  151.     }
  152.     public function getCountryCode()
  153.     {
  154.         return $this->country_code;
  155.     }
  156.     public function setCountryCode($value)
  157.     {
  158.         $this->country_code $value;
  159.         return $this;
  160.     }
  161.     public function getCountryName()
  162.     {
  163.         return $this->country_name;
  164.     }
  165.     public function setCountryName($value)
  166.     {
  167.         $this->country_name $value;
  168.         return $this;
  169.     }
  170.     public function getCountryTaxes()
  171.     {
  172.         return $this->country_taxes;
  173.     }
  174.     public function setCountryTaxes($value)
  175.     {
  176.         $this->country_taxes $value;
  177.         return $this;
  178.     }
  179.     public function getCurrency()
  180.     {
  181.         return $this->currency;
  182.     }
  183.     public function setCurrency($value)
  184.     {
  185.         $this->currency $value;
  186.         return $this;
  187.     }
  188.     public function getTaxesIncluded()
  189.     {
  190.         return $this->taxes_included;
  191.     }
  192.     public function setTaxesIncluded($value)
  193.     {
  194.         $this->taxes_included $value;
  195.         return $this;
  196.     }
  197.     public function getZip()
  198.     {
  199.         return $this->zip;
  200.     }
  201.     public function setZip($value)
  202.     {
  203.         $this->zip $value;
  204.         return $this;
  205.     }
  206.     public function getPhone()
  207.     {
  208.         return $this->phone;
  209.     }
  210.     public function setPhone($value)
  211.     {
  212.         $this->phone $value;
  213.         return $this;
  214.     }
  215.     public function getAddress()
  216.     {
  217.         return $this->address;
  218.     }
  219.     public function setAddress($value)
  220.     {
  221.         $this->address $value;
  222.         return $this;
  223.     }
  224. }