src/OfficeBrain/Bundle/RequestQuoteBundle/Entity/RequestQuoteShippingDetail.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.  * RequestQuoteShippingDetail
  8.  *
  9.  * @ORM\Table("tbl_request_quote_shipping", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
  10.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteShippingDetailRepository")
  11.  */
  12. class RequestQuoteShippingDetail
  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="RequestQuoteProduct", inversedBy="requestQuoteShippingDetail")  
  25.      * @ORM\JoinColumn(name="request_quote_product_id", referencedColumnName="id")
  26.      */
  27.     private $requestQuoteProductId;
  28.     /**
  29.      * @var string
  30.      *
  31.      * @ORM\Column(name="shipping_type", type="string", length=255, nullable=true)
  32.      */
  33.     private $shippingType;
  34.     /**
  35.      * @var string
  36.      *
  37.      * @ORM\Column(name="service_type", type="string", length=255, nullable=true)
  38.      */
  39.     private $serviceType;
  40.     
  41.     /**
  42.      * @var string
  43.      *
  44.      * @ORM\Column(name="shipper_account", type="string", length=255, nullable=true)
  45.      */
  46.     private $shipperAccount;
  47.     /**
  48.      * @var string
  49.      *
  50.      * @ORM\Column(name="shipping_charge", type="decimal",precision=11, scale=2, options={"default" = 0})
  51.      */
  52.     private $shippingCharge;
  53.     /**
  54.      * @var string
  55.      *
  56.      * @ORM\Column(name="name", type="string", length=255, nullable=true)
  57.      */
  58.     private $name;
  59.     /**
  60.      * @var string
  61.      *
  62.      * @ORM\Column(name="email", type="string", length=255, nullable=true)
  63.      */
  64.     private $email;
  65.     /**
  66.      * @var string
  67.      *
  68.      * @ORM\Column(name="street1", type="string", length=255, nullable=true)
  69.      */
  70.     private $street1;
  71.     /**
  72.      * @var string
  73.      *
  74.      * @ORM\Column(name="street2", type="string", length=255, nullable=true)
  75.      */
  76.     private $street2;
  77.     /**
  78.      * @var integer
  79.      *
  80.      * @ORM\Column(name="country_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  81.      */
  82.     private $countryId;
  83.     /**
  84.      * @var integer
  85.      *
  86.      * @ORM\Column(name="state_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  87.      */
  88.     private $stateId;
  89.     /**
  90.      * @var integer
  91.      *
  92.      * @ORM\Column(name="city_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  93.      */
  94.     private $cityId;
  95.     /**
  96.      * @var string
  97.      *
  98.      * @ORM\Column(name="zip_code", type="string", length=255, nullable=true)
  99.      */
  100.     private $zipCode;
  101.     /**
  102.      * @var string
  103.      *
  104.      * @ORM\Column(name="extension", type="string", length=255, nullable=true)
  105.      */
  106.     private $extension;
  107.     /**
  108.      * @var string
  109.      *
  110.      * @ORM\Column(name="phone", type="string", length=255, nullable=true)
  111.      */
  112.     private $phone;
  113.     /**
  114.      * @var string
  115.      *
  116.      * @ORM\Column(name="fax", type="string", length=255, nullable=true)
  117.      */
  118.     private $fax;
  119.     /**
  120.      * @var string
  121.      *
  122.      * @ORM\Column(name="website", type="string", length=255, nullable=true)
  123.      */
  124.     private $website;
  125.     /**
  126.      * @var string
  127.      *
  128.      * @ORM\Column(name="company_name", type="string", length=255, nullable=true)
  129.      */
  130.     private $companyName;
  131.     /**
  132.      * @var string
  133.      *
  134.      * @ORM\Column(name="company_number", type="string", length=255, nullable=true)
  135.      */
  136.     private $companyNumber;
  137.    /**
  138.      * @var string
  139.      * @ORM\Column(name="other_country", type="string", length=255, options={"collate"="utf8_unicode_ci"}, nullable=true)
  140.      */
  141.     private $otherCountry;
  142.     /**
  143.      * Get id
  144.      *
  145.      * @return integer 
  146.      */
  147.     public function getId()
  148.     {
  149.         return $this->id;
  150.     }
  151.     /**
  152.      * * Set requestQuoteProductId
  153.      *
  154.      * @param \App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProduct $requestQuoteProductId
  155.      * @return RequestQuoteShippingDetail
  156.      */
  157.     public function setRequestQuoteProductId(\App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteProduct $requestQuoteProductId=null)
  158.     {
  159.         $this->requestQuoteProductId $requestQuoteProductId;
  160.         return $this;
  161.     }
  162.     /**
  163.      * Get requestQuoteProductId
  164.      *
  165.      * @return integer 
  166.      */
  167.     public function getRequestQuoteProductId()
  168.     {
  169.         return $this->requestQuoteProductId;
  170.     }
  171.     /**
  172.      * Set shippingType
  173.      *
  174.      * @param string $shippingType
  175.      * @return RequestQuoteShippingDetail
  176.      */
  177.     public function setShippingType($shippingType)
  178.     {
  179.         $this->shippingType $shippingType;
  180.         return $this;
  181.     }
  182.     /**
  183.      * Get shippingType
  184.      *
  185.      * @return string 
  186.      */
  187.     public function getShippingType()
  188.     {
  189.         return $this->shippingType;
  190.     }
  191.     /**
  192.      * Set serviceType
  193.      *
  194.      * @param string $serviceType
  195.      * @return RequestQuoteShippingDetail
  196.      */
  197.     public function setServiceType($serviceType)
  198.     {
  199.         $this->serviceType $serviceType;
  200.         return $this;
  201.     }
  202.     /**
  203.      * Get serviceType
  204.      *
  205.      * @return string 
  206.      */
  207.     public function getServiceType()
  208.     {
  209.         return $this->serviceType;
  210.     }
  211.     /**
  212.      * Set shippingCharge
  213.      *
  214.      * @param string $shippingCharge
  215.      * @return RequestQuoteShippingDetail
  216.      */
  217.     public function setShippingCharge($shippingCharge)
  218.     {
  219.         $this->shippingCharge $shippingCharge;
  220.         return $this;
  221.     }
  222.     /**
  223.      * Get shippingCharge
  224.      *
  225.      * @return string 
  226.      */
  227.     public function getShippingCharge()
  228.     {
  229.         return $this->shippingCharge;
  230.     }
  231.     /**
  232.      * Set name
  233.      *
  234.      * @param string $name
  235.      * @return RequestQuoteShippingDetail
  236.      */
  237.     public function setName($name)
  238.     {
  239.         $this->name $name;
  240.         return $this;
  241.     }
  242.     /**
  243.      * Get name
  244.      *
  245.      * @return string 
  246.      */
  247.     public function getName()
  248.     {
  249.         return $this->name;
  250.     }
  251.     /**
  252.      * Set email
  253.      *
  254.      * @param string $email
  255.      * @return RequestQuoteShippingDetail
  256.      */
  257.     public function setEmail($email)
  258.     {
  259.         $this->email $email;
  260.         return $this;
  261.     }
  262.     /**
  263.      * Get email
  264.      *
  265.      * @return string 
  266.      */
  267.     public function getEmail()
  268.     {
  269.         return $this->email;
  270.     }
  271.     /**
  272.      * Set street1
  273.      *
  274.      * @param string $street1
  275.      * @return RequestQuoteShippingDetail
  276.      */
  277.     public function setStreet1($street1)
  278.     {
  279.         $this->street1 $street1;
  280.         return $this;
  281.     }
  282.     /**
  283.      * Get street1
  284.      *
  285.      * @return string 
  286.      */
  287.     public function getStreet1()
  288.     {
  289.         return $this->street1;
  290.     }
  291.     /**
  292.      * Set street2
  293.      *
  294.      * @param string $street2
  295.      * @return RequestQuoteShippingDetail
  296.      */
  297.     public function setStreet2($street2)
  298.     {
  299.         $this->street2 $street2;
  300.         return $this;
  301.     }
  302.     /**
  303.      * Get street2
  304.      *
  305.      * @return string 
  306.      */
  307.     public function getStreet2()
  308.     {
  309.         return $this->street2;
  310.     }
  311.     /**
  312.      * Set countryId
  313.      *
  314.      * @param integer $countryId
  315.      * @return RequestQuoteShippingDetail
  316.      */
  317.     public function setCountryId($countryId)
  318.     {
  319.         $this->countryId $countryId;
  320.         return $this;
  321.     }
  322.     /**
  323.      * Get countryId
  324.      *
  325.      * @return integer 
  326.      */
  327.     public function getCountryId()
  328.     {
  329.         return $this->countryId;
  330.     }
  331.     /**
  332.      * Set stateId
  333.      *
  334.      * @param integer $stateId
  335.      * @return RequestQuoteShippingDetail
  336.      */
  337.     public function setStateId($stateId)
  338.     {
  339.         $this->stateId $stateId;
  340.         return $this;
  341.     }
  342.     /**
  343.      * Get stateId
  344.      *
  345.      * @return integer 
  346.      */
  347.     public function getStateId()
  348.     {
  349.         return $this->stateId;
  350.     }
  351.     /**
  352.      * Set cityId
  353.      *
  354.      * @param integer $cityId
  355.      * @return RequestQuoteShippingDetail
  356.      */
  357.     public function setCityId($cityId)
  358.     {
  359.         $this->cityId $cityId;
  360.         return $this;
  361.     }
  362.     /**
  363.      * Get cityId
  364.      *
  365.      * @return integer 
  366.      */
  367.     public function getCityId()
  368.     {
  369.         return $this->cityId;
  370.     }
  371.     /**
  372.      * Set zipCode
  373.      *
  374.      * @param string $zipCode
  375.      * @return RequestQuoteShippingDetail
  376.      */
  377.     public function setZipCode($zipCode)
  378.     {
  379.         $this->zipCode $zipCode;
  380.         return $this;
  381.     }
  382.     /**
  383.      * Get zipCode
  384.      *
  385.      * @return string 
  386.      */
  387.     public function getZipCode()
  388.     {
  389.         return $this->zipCode;
  390.     }
  391.     /**
  392.      * Set extension
  393.      *
  394.      * @param string $extension
  395.      * @return RequestQuoteShippingDetail
  396.      */
  397.     public function setExtension($extension)
  398.     {
  399.         $this->extension $extension;
  400.         return $this;
  401.     }
  402.     /**
  403.      * Get extension
  404.      *
  405.      * @return string 
  406.      */
  407.     public function getExtension()
  408.     {
  409.         return $this->extension;
  410.     }
  411.     /**
  412.      * Set phone
  413.      *
  414.      * @param string $phone
  415.      * @return RequestQuoteShippingDetail
  416.      */
  417.     public function setPhone($phone)
  418.     {
  419.         $this->phone $phone;
  420.         return $this;
  421.     }
  422.     /**
  423.      * Get phone
  424.      *
  425.      * @return string 
  426.      */
  427.     public function getPhone()
  428.     {
  429.         return $this->phone;
  430.     }
  431.     /**
  432.      * Set fax
  433.      *
  434.      * @param string $fax
  435.      * @return RequestQuoteShippingDetail
  436.      */
  437.     public function setFax($fax)
  438.     {
  439.         $this->fax $fax;
  440.         return $this;
  441.     }
  442.     /**
  443.      * Get fax
  444.      *
  445.      * @return string 
  446.      */
  447.     public function getFax()
  448.     {
  449.         return $this->fax;
  450.     }
  451.     /**
  452.      * Set website
  453.      *
  454.      * @param string $website
  455.      * @return RequestQuoteShippingDetail
  456.      */
  457.     public function setWebsite($website)
  458.     {
  459.         $this->website $website;
  460.         return $this;
  461.     }
  462.     /**
  463.      * Get website
  464.      *
  465.      * @return string 
  466.      */
  467.     public function getWebsite()
  468.     {
  469.         return $this->website;
  470.     }
  471.     /**
  472.      * Set companyName
  473.      *
  474.      * @param string $companyName
  475.      * @return RequestQuoteShippingDetail
  476.      */
  477.     public function setCompanyName($companyName)
  478.     {
  479.         $this->companyName $companyName;
  480.         return $this;
  481.     }
  482.     /**
  483.      * Get companyName
  484.      *
  485.      * @return string 
  486.      */
  487.     public function getCompanyName()
  488.     {
  489.         return $this->companyName;
  490.     }
  491.     /**
  492.      * Set companyNumber
  493.      *
  494.      * @param string $companyNumber
  495.      * @return RequestQuoteShippingDetail
  496.      */
  497.     public function setCompanyNumber($companyNumber)
  498.     {
  499.         $this->companyNumber $companyNumber;
  500.         return $this;
  501.     }
  502.     /**
  503.      * Get companyNumber
  504.      *
  505.      * @return string 
  506.      */
  507.     public function getCompanyNumber()
  508.     {
  509.         return $this->companyNumber;
  510.     }
  511.     /**
  512.      * Set shipperAccount
  513.      *
  514.      * @param string $shipperAccount
  515.      *
  516.      * @return RequestQuoteShippingDetail
  517.      */
  518.     public function setShipperAccount($shipperAccount)
  519.     {
  520.         $this->shipperAccount $shipperAccount;
  521.         return $this;
  522.     }
  523.     /**
  524.      * Get shipperAccount
  525.      *
  526.      * @return string
  527.      */
  528.     public function getShipperAccount()
  529.     {
  530.         return $this->shipperAccount;
  531.     }
  532.     /**
  533.      * Set otherCountry
  534.      *
  535.      * @param string $otherCountry
  536.      * @return string
  537.      */
  538.     public function setOtherCountry($otherCountry)
  539.     {
  540.         $this->otherCountry $otherCountry;
  541.     
  542.         return $this;
  543.     }
  544.     
  545.     /**
  546.      * Get otherCountry
  547.      *
  548.      * @return string
  549.      */
  550.     public function getOtherCountry()
  551.     {
  552.         return $this->otherCountry;
  553.     }
  554. }