src/OfficeBrain/Bundle/OrderBundle/Entity/OrderBillingDetail.php line 13

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