src/OfficeBrain/Bundle/RequestQuoteBundle/Entity/RequestQuoteBillingDetail.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\RequestQuoteBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. /**
  7.  * RequestQuoteBillingDetail
  8.  *
  9.  * @ORM\Table(name="tbl_request_quote_billing_detail", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
  10.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteBillingDetailRepository")
  11.  */
  12. class RequestQuoteBillingDetail
  13. {
  14.     /**
  15.      * @var integer
  16.      *
  17.      * @ORM\Column(name="id", type="bigint",length=20 ,options={"unsigned"=true})
  18.      * @ORM\Id
  19.      * @ORM\GeneratedValue(strategy="AUTO")
  20.      */
  21.     private $id;
  22.     /**
  23.      * @var integer
  24.      * @ORM\OneToOne(targetEntity="RequestQuoteMaster", inversedBy="requestQuoteBillingDetail")  
  25.      * @ORM\JoinColumn(name="request_quote_master_id", referencedColumnName="id")
  26.      */
  27.     private $requestQuoteMasterId;
  28.     
  29.     /**
  30.      * @var integer
  31.      *
  32.      * @ORM\Column(name="contactbook_id", type="bigint",length=20 ,options={"unsigned"=true})
  33.      */
  34.     private $contactbookId;
  35.     /**
  36.      * @var string
  37.      *
  38.      * @ORM\Column(name="name", type="string", length=255, nullable=true)
  39.      */
  40.     private $name;
  41.     /**
  42.      * @var string
  43.      *
  44.      * @ORM\Column(name="email", type="string", length=255, nullable=true)
  45.      */
  46.     private $email;
  47.     /**
  48.      * @var string
  49.      *
  50.      * @ORM\Column(name="street1", type="string", length=255, nullable=true)
  51.      */
  52.     private $street1;
  53.     /**
  54.      * @var string
  55.      *
  56.      * @ORM\Column(name="street2", type="string", length=255, nullable=true)
  57.      */
  58.     private $street2;
  59.     /**
  60.      * @var integer
  61.      *
  62.      * @ORM\Column(name="country_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  63.      */
  64.     private $countryId;
  65.     /**
  66.      * @var integer
  67.      *
  68.      * @ORM\Column(name="state_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  69.      */
  70.     private $stateId;
  71.     /**
  72.      * @var integer
  73.      *
  74.      * @ORM\Column(name="city_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  75.      */
  76.     private $cityId;
  77.     /**
  78.      * @var string
  79.      *
  80.      * @ORM\Column(name="zip_code", type="string", length=255, nullable=true)
  81.      */
  82.     private $zipCode;
  83.     /**
  84.      * @var string
  85.      *
  86.      * @ORM\Column(name="extension", type="string", length=255, nullable=true)
  87.      */
  88.     private $extension;
  89.     /**
  90.      * @var string
  91.      *
  92.      * @ORM\Column(name="phone", type="string", length=255, nullable=true)
  93.      */
  94.     private $phone;
  95.     /**
  96.      * @var string
  97.      *
  98.      * @ORM\Column(name="fax", type="string", length=255, nullable=true)
  99.      */
  100.     private $fax;
  101.     /**
  102.      * @var string
  103.      *
  104.      * @ORM\Column(name="website", type="string", length=255, nullable=true)
  105.      */
  106.     private $website;
  107.     /**
  108.      * @var string
  109.      *
  110.      * @ORM\Column(name="company_name", type="string", length=255, nullable=true)
  111.      */
  112.     private $companyName;
  113.     /**
  114.      * @var string
  115.      *
  116.      * @ORM\Column(name="company_number", type="string", length=255, nullable=true)
  117.      */
  118.     private $companyNumber;
  119.     
  120.     /**
  121.      * @var string
  122.      *
  123.      * @ORM\Column(name="other_country", type="string", length=255, nullable=true)
  124.      */
  125.     private $otherCountry;
  126.     /**
  127.      * Get id
  128.      *
  129.      * @return integer 
  130.      */
  131.     public function getId()
  132.     {
  133.         return $this->id;
  134.     }
  135.     /**
  136.      * Set requestQuoteMasterId
  137.      *
  138.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteMaster $requestQuoteMasterId
  139.      * @return RequestQuoteItemLine
  140.      */
  141.     public function setRequestQuoteMasterId(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteMaster $requestQuoteMasterId=null)
  142.     {
  143.         $this->requestQuoteMasterId $requestQuoteMasterId;
  144.         return $this;
  145.     }
  146.     /**
  147.      * Get requestQuoteMasterId
  148.      *
  149.      * @return \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteMaster 
  150.      */
  151.     public function getRequestQuoteMasterId()
  152.     {
  153.         return $this->requestQuoteMasterId;
  154.     }
  155.     /**
  156.      * Set name
  157.      *
  158.      * @param string $name
  159.      * @return RequestQuoteBillingDetail
  160.      */
  161.     public function setName($name)
  162.     {
  163.         $this->name $name;
  164.         return $this;
  165.     }
  166.     /**
  167.      * Get name
  168.      *
  169.      * @return string 
  170.      */
  171.     public function getName()
  172.     {
  173.         return $this->name;
  174.     }
  175.     /**
  176.      * Set email
  177.      *
  178.      * @param string $email
  179.      * @return RequestQuoteBillingDetail
  180.      */
  181.     public function setEmail($email)
  182.     {
  183.         $this->email $email;
  184.         return $this;
  185.     }
  186.     /**
  187.      * Get email
  188.      *
  189.      * @return string 
  190.      */
  191.     public function getEmail()
  192.     {
  193.         return $this->email;
  194.     }
  195.     /**
  196.      * Set street1
  197.      *
  198.      * @param string $street1
  199.      * @return RequestQuoteBillingDetail
  200.      */
  201.     public function setStreet1($street1)
  202.     {
  203.         $this->street1 $street1;
  204.         return $this;
  205.     }
  206.     /**
  207.      * Get street1
  208.      *
  209.      * @return string 
  210.      */
  211.     public function getStreet1()
  212.     {
  213.         return $this->street1;
  214.     }
  215.     /**
  216.      * Set street2
  217.      *
  218.      * @param string $street2
  219.      * @return RequestQuoteBillingDetail
  220.      */
  221.     public function setStreet2($street2)
  222.     {
  223.         $this->street2 $street2;
  224.         return $this;
  225.     }
  226.     /**
  227.      * Get street2
  228.      *
  229.      * @return string 
  230.      */
  231.     public function getStreet2()
  232.     {
  233.         return $this->street2;
  234.     }
  235.     /**
  236.      * Set countryId
  237.      *
  238.      * @param integer $countryId
  239.      * @return RequestQuoteBillingDetail
  240.      */
  241.     public function setCountryId($countryId)
  242.     {
  243.         $this->countryId $countryId;
  244.         return $this;
  245.     }
  246.     /**
  247.      * Get countryId
  248.      *
  249.      * @return integer 
  250.      */
  251.     public function getCountryId()
  252.     {
  253.         return $this->countryId;
  254.     }
  255.     /**
  256.      * Set stateId
  257.      *
  258.      * @param integer $stateId
  259.      * @return RequestQuoteBillingDetail
  260.      */
  261.     public function setStateId($stateId)
  262.     {
  263.         $this->stateId $stateId;
  264.         return $this;
  265.     }
  266.     /**
  267.      * Get stateId
  268.      *
  269.      * @return integer 
  270.      */
  271.     public function getStateId()
  272.     {
  273.         return $this->stateId;
  274.     }
  275.     /**
  276.      * Set cityId
  277.      *
  278.      * @param integer $cityId
  279.      * @return RequestQuoteBillingDetail
  280.      */
  281.     public function setCityId($cityId)
  282.     {
  283.         $this->cityId $cityId;
  284.         return $this;
  285.     }
  286.     /**
  287.      * Get cityId
  288.      *
  289.      * @return integer 
  290.      */
  291.     public function getCityId()
  292.     {
  293.         return $this->cityId;
  294.     }
  295.     /**
  296.      * Set zipCode
  297.      *
  298.      * @param string $zipCode
  299.      * @return RequestQuoteBillingDetail
  300.      */
  301.     public function setZipCode($zipCode)
  302.     {
  303.         $this->zipCode $zipCode;
  304.         return $this;
  305.     }
  306.     /**
  307.      * Get zipCode
  308.      *
  309.      * @return string 
  310.      */
  311.     public function getZipCode()
  312.     {
  313.         return $this->zipCode;
  314.     }
  315.     /**
  316.      * Set extension
  317.      *
  318.      * @param string $extension
  319.      * @return RequestQuoteBillingDetail
  320.      */
  321.     public function setExtension($extension)
  322.     {
  323.         $this->extension $extension;
  324.         return $this;
  325.     }
  326.     /**
  327.      * Get extension
  328.      *
  329.      * @return string 
  330.      */
  331.     public function getExtension()
  332.     {
  333.         return $this->extension;
  334.     }
  335.     /**
  336.      * Set phone
  337.      *
  338.      * @param string $phone
  339.      * @return RequestQuoteBillingDetail
  340.      */
  341.     public function setPhone($phone)
  342.     {
  343.         $this->phone $phone;
  344.         return $this;
  345.     }
  346.     /**
  347.      * Get phone
  348.      *
  349.      * @return string 
  350.      */
  351.     public function getPhone()
  352.     {
  353.         return $this->phone;
  354.     }
  355.     /**
  356.      * Set fax
  357.      *
  358.      * @param string $fax
  359.      * @return RequestQuoteBillingDetail
  360.      */
  361.     public function setFax($fax)
  362.     {
  363.         $this->fax $fax;
  364.         return $this;
  365.     }
  366.     /**
  367.      * Get fax
  368.      *
  369.      * @return string 
  370.      */
  371.     public function getFax()
  372.     {
  373.         return $this->fax;
  374.     }
  375.     /**
  376.      * Set website
  377.      *
  378.      * @param string $website
  379.      * @return RequestQuoteBillingDetail
  380.      */
  381.     public function setWebsite($website)
  382.     {
  383.         $this->website $website;
  384.         return $this;
  385.     }
  386.     /**
  387.      * Get website
  388.      *
  389.      * @return string 
  390.      */
  391.     public function getWebsite()
  392.     {
  393.         return $this->website;
  394.     }
  395.     /**
  396.      * Set companyName
  397.      *
  398.      * @param string $companyName
  399.      * @return RequestQuoteBillingDetail
  400.      */
  401.     public function setCompanyName($companyName)
  402.     {
  403.         $this->companyName $companyName;
  404.         return $this;
  405.     }
  406.     /**
  407.      * Get companyName
  408.      *
  409.      * @return string 
  410.      */
  411.     public function getCompanyName()
  412.     {
  413.         return $this->companyName;
  414.     }
  415.     /**
  416.      * Set companyNumber
  417.      *
  418.      * @param string $companyNumber
  419.      * @return RequestQuoteBillingDetail
  420.      */
  421.     public function setCompanyNumber($companyNumber)
  422.     {
  423.         $this->companyNumber $companyNumber;
  424.         return $this;
  425.     }
  426.     /**
  427.      * Get companyNumber
  428.      *
  429.      * @return string 
  430.      */
  431.     public function getCompanyNumber()
  432.     {
  433.         return $this->companyNumber;
  434.     }
  435.     /**
  436.      * Set contactbookId
  437.      *
  438.      * @param integer $contactbookId
  439.      * @return RequestQuoteBillingDetail
  440.      */
  441.     public function setContactbookId($contactbookId)
  442.     {
  443.         $this->contactbookId $contactbookId;
  444.         return $this;
  445.     }
  446.     /**
  447.      * Get contactbookId
  448.      *
  449.      * @return integer 
  450.      */
  451.     public function getContactbookId()
  452.     {
  453.         return $this->contactbookId;
  454.     }
  455.     
  456.     /**
  457.      * Set otherCountry
  458.      *
  459.      * @param string $otherCountry
  460.      * @return string
  461.      */
  462.     public function setOtherCountry($otherCountry)
  463.     {
  464.         $this->otherCountry $otherCountry;
  465.     
  466.         return $this;
  467.     }
  468.     
  469.     /**
  470.      * Get otherCountry
  471.      *
  472.      * @return string
  473.      */
  474.     public function getOtherCountry()
  475.     {
  476.         return $this->otherCountry;
  477.     }
  478. }