<?php
namespace App\OfficeBrain\Bundle\OrderBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* OrderBillingDetail
*
* @ORM\Table(name="tbl_order_billing_detail", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
* @ORM\Entity(repositoryClass="App\App\OfficeBrain\Bundle\OrderBundle\Entity\OrderBillingDetailRepository")
*/
class OrderBillingDetail
{
/**
* @var integer
*
* @ORM\Column(name="id",type="bigint", length=20 , options={"unsigned"=true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\OneToOne(targetEntity="OrderMaster", inversedBy="orderBillingDetail")
* @ORM\JoinColumn(name="order_master_id", referencedColumnName="id")
*/
private $orderMasterId;
/**
* @var integer
*
* @ORM\Column(name="contactbook_id", type="bigint",length=20 ,options={"unsigned"=true})
*/
private $contactbookId;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=true)
*/
private $name;
/**
* @var string
*
* @ORM\Column(name="email", type="string", length=255, nullable=true)
*/
private $email;
/**
* @var string
*
* @ORM\Column(name="street1", type="string", length=255, nullable=true)
*/
private $street1;
/**
* @var string
*
* @ORM\Column(name="street2", type="string", length=255, nullable=true)
*/
private $street2;
/**
* @var integer
*
* @ORM\Column(name="country_id", type="bigint", length=20 , options={"unsigned"=true})
*/
private $countryId;
/**
* @var integer
*
* @ORM\Column(name="state_id", type="bigint", length=20 , options={"unsigned"=true}, nullable=true)
*/
private $stateId;
/**
* @var integer
*
* @ORM\Column(name="city_id", type="bigint", length=20 , options={"unsigned"=true}, nullable=true)
*/
private $cityId;
/**
* @var string
*
* @ORM\Column(name="zip_code", type="string", length=255, nullable=true)
*/
private $zipCode;
/**
* @var string
*
* @ORM\Column(name="extension", type="string", length=255, nullable=true)
*/
private $extension;
/**
* @var string
*
* @ORM\Column(name="phone", type="string", length=255, nullable=true)
*/
private $phone;
/**
* @var string
*
* @ORM\Column(name="fax",type="string", length=255, nullable=true)
*/
private $fax;
/**
* @var string
*
* @ORM\Column(name="website", type="string", length=255, nullable=true)
*/
private $website;
/**
* @var string
*
* @ORM\Column(name="company_name", type="string", length=255, nullable=true)
*/
private $companyName;
/**
* @var string
*
* @ORM\Column(name="company_number", type="string", length=255, nullable=true)
*/
private $companyNumber;
/**
* @var string
* @ORM\Column(name="other_country", type="string", length=255, options={"collate"="utf8_unicode_ci"}, nullable=true)
*/
private $otherCountry;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set name
*
* @param string $name
* @return OrderBillingDetail
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set email
*
* @param string $email
* @return OrderBillingDetail
*/
public function setEmail($email)
{
$this->email = $email;
return $this;
}
/**
* Get email
*
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* Set street1
*
* @param string $street1
* @return OrderBillingDetail
*/
public function setStreet1($street1)
{
$this->street1 = $street1;
return $this;
}
/**
* Get street1
*
* @return string
*/
public function getStreet1()
{
return $this->street1;
}
/**
* Set street2
*
* @param string $street2
* @return OrderBillingDetail
*/
public function setStreet2($street2)
{
$this->street2 = $street2;
return $this;
}
/**
* Get street2
*
* @return string
*/
public function getStreet2()
{
return $this->street2;
}
/**
* Set countryId
*
* @param integer $countryId
* @return OrderBillingDetail
*/
public function setCountryId($countryId)
{
$this->countryId = $countryId;
return $this;
}
/**
* Get countryId
*
* @return integer
*/
public function getCountryId()
{
return $this->countryId;
}
/**
* Set stateId
*
* @param integer $stateId
* @return OrderBillingDetail
*/
public function setStateId($stateId)
{
$this->stateId = $stateId;
return $this;
}
/**
* Get stateId
*
* @return integer
*/
public function getStateId()
{
return $this->stateId;
}
/**
* Set cityId
*
* @param integer $cityId
* @return OrderBillingDetail
*/
public function setCityId($cityId)
{
$this->cityId = $cityId;
return $this;
}
/**
* Get cityId
*
* @return integer
*/
public function getCityId()
{
return $this->cityId;
}
/**
* Set zipCode
*
* @param string $zipCode
* @return OrderBillingDetail
*/
public function setZipCode($zipCode)
{
$this->zipCode = $zipCode;
return $this;
}
/**
* Get zipCode
*
* @return string
*/
public function getZipCode()
{
return $this->zipCode;
}
/**
* Set extension
*
* @param string $extension
* @return OrderBillingDetail
*/
public function setExtension($extension)
{
$this->extension = $extension;
return $this;
}
/**
* Get extension
*
* @return string
*/
public function getExtension()
{
return $this->extension;
}
/**
* Set phone
*
* @param string $phone
* @return OrderBillingDetail
*/
public function setPhone($phone)
{
$this->phone = $phone;
return $this;
}
/**
* Get phone
*
* @return string
*/
public function getPhone()
{
return $this->phone;
}
/**
* Set fax
*
* @param string $fax
* @return OrderBillingDetail
*/
public function setFax($fax)
{
$this->fax = $fax;
return $this;
}
/**
* Get fax
*
* @return string
*/
public function getFax()
{
return $this->fax;
}
/**
* Set website
*
* @param string $website
* @return OrderBillingDetail
*/
public function setWebsite($website)
{
$this->website = $website;
return $this;
}
/**
* Get website
*
* @return string
*/
public function getWebsite()
{
return $this->website;
}
/**
* Set companyName
*
* @param string $companyName
* @return OrderBillingDetail
*/
public function setCompanyName($companyName)
{
$this->companyName = $companyName;
return $this;
}
/**
* Get companyName
*
* @return string
*/
public function getCompanyName()
{
return $this->companyName;
}
/**
* Set companyNumber
*
* @param string $companyNumber
* @return OrderBillingDetail
*/
public function setCompanyNumber($companyNumber)
{
$this->companyNumber = $companyNumber;
return $this;
}
/**
* Get companyNumber
*
* @return string
*/
public function getCompanyNumber()
{
return $this->companyNumber;
}
/**
* Set orderMasterId
*
* @param \App\OfficeBrain\Bundle\OrderBundle\Entity\OrderMaster $orderMasterId
* @return OrderBillingDetail
*/
public function setOrderMasterId(\App\OfficeBrain\Bundle\OrderBundle\Entity\OrderMaster $orderMasterId = null)
{
$this->orderMasterId = $orderMasterId;
return $this;
}
/**
* Get orderMasterId
*
* @return \App\OfficeBrain\Bundle\OrderBundle\Entity\OrderMaster
*/
public function getOrderMasterId()
{
return $this->orderMasterId;
}
/**
* Set contactbookId
*
* @param integer $contactbookId
*
* @return OrderBillingDetail
*/
public function setContactbookId($contactbookId)
{
$this->contactbookId = $contactbookId;
return $this;
}
/**
* Get contactbookId
*
* @return integer
*/
public function getContactbookId()
{
return $this->contactbookId;
}
/**
* Set otherCountry
*
* @param string $otherCountry
* @return string
*/
public function setOtherCountry($otherCountry)
{
$this->otherCountry = $otherCountry;
return $this;
}
/**
* Get otherCountry
*
* @return string
*/
public function getOtherCountry()
{
return $this->otherCountry;
}
}