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

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\OrderBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. /**
  6.  * OrderShippingDetail
  7.  *
  8.  * @ORM\Table(name="tbl_order_shipping_detail", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
  9.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\OrderBundle\Entity\OrderShippingDetailRepository")
  10.  */
  11. class OrderShippingDetail
  12. {
  13.    /**
  14.      * @var integer
  15.      *
  16.      * @ORM\Column(name="id",type="bigint", length=20 , options={"unsigned"=true})
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="AUTO")
  19.      */
  20.     private $id;
  21.      /**
  22.      * @ORM\OneToOne(targetEntity="OrderProduct", inversedBy="orderShippingDetail")
  23.      * @ORM\JoinColumn(name="order_product_id", referencedColumnName="id")
  24.      */
  25.     private $orderProductId;
  26.     /**
  27.      * @var integer
  28.      *
  29.      * @ORM\Column(name="tracking_id", type="string", length=255, nullable=true)
  30.      */
  31.     private $trackingId;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="shipping_type_admin", type="string", length=255, nullable=true)
  36.      */
  37.     private $shippingTypeAdmin;
  38.     
  39.     /**
  40.      * @var integer
  41.      *
  42.      * @ORM\Column(name="status_id", type="integer", length=1, nullable=true)
  43.      */
  44.     private $statusId=0;
  45.     
  46.     /**
  47.      * @var string
  48.      *
  49.      * @ORM\Column(name="status_code", type="string", length=255, nullable=true)
  50.      */
  51.     private $statusCode='pending';
  52.     
  53.     /**
  54.      * @var string
  55.      *
  56.      * @ORM\Column(name="shipping_type", type="string", length=255, nullable=true)
  57.      */
  58.     private $shippingType;
  59.     
  60.     /**
  61.      * @var string
  62.      *
  63.      * @ORM\Column(name="shipper_account", type="string", length=255, nullable=true)
  64.      */
  65.     private $shipperAccount;
  66.     
  67.     /**
  68.      * @var string
  69.      *
  70.      * @ORM\Column(name="carrier_type", type="string", length=255, nullable=true)
  71.      */
  72.     private $carrierType;
  73.     
  74.     /**
  75.      * @var string
  76.      *
  77.      * @ORM\Column(name="service_type", type="string", length=255, nullable=true)
  78.      */
  79.     private $serviceType;
  80.     /**
  81.      * @var string
  82.      *
  83.      * @ORM\Column(name="shipping_charge", type="string", length=255, nullable=true)
  84.      */
  85.     private $shippingCharge;
  86.     /**
  87.      * @var string
  88.      *
  89.      * @ORM\Column(name="name", type="string", length=255, nullable=true)
  90.      */
  91.     private $name;
  92.     /**
  93.      * @var string
  94.      *
  95.      * @ORM\Column(name="email", type="string", length=255, nullable=true)
  96.      */
  97.     private $email;
  98.     /**
  99.      * @var string
  100.      *
  101.      * @ORM\Column(name="street1", type="string", length=255, nullable=true)
  102.      */
  103.     private $street1;
  104.     /**
  105.      * @var string
  106.      *
  107.      * @ORM\Column(name="street2", type="string", length=255, nullable=true)
  108.      */
  109.     private $street2;
  110.     /**
  111.      * @var integer
  112.      *
  113.      * @ORM\Column(name="country_name", type="string", length=255, nullable=true)
  114.      */
  115.     private $countryName;
  116.     /**
  117.      * @var integer
  118.      *
  119.      * @ORM\Column(name="state_name", type="string", length=255, nullable=true)
  120.      */
  121.     private $stateName;
  122.     /**
  123.      * @var integer
  124.      *
  125.      * @ORM\Column(name="city_name", type="string", length=255, nullable=true)
  126.      */
  127.     private $cityName;
  128.     /**
  129.      * @var string
  130.      *
  131.      * @ORM\Column(name="zip_code", type="string", length=255, nullable=true)
  132.      */
  133.     private $zipCode;
  134.     /**
  135.      * @var string
  136.      *
  137.      * @ORM\Column(name="extension", type="string", length=255, nullable=true)
  138.      */
  139.     private $extension;
  140.     /**
  141.      * @var string
  142.      *
  143.      * @ORM\Column(name="phone", type="string", length=255, nullable=true)
  144.      */
  145.     private $phone;
  146.     /**
  147.      * @var string
  148.      *
  149.      * @ORM\Column(name="fax", type="string", length=255, nullable=true)
  150.      */
  151.     private $fax;
  152.     /**
  153.      * @var string
  154.      *
  155.      * @ORM\Column(name="website", type="string", length=255, nullable=true)
  156.      */
  157.     private $website;
  158.     /**
  159.      * @var string
  160.      *
  161.      * @ORM\Column(name="company_name", type="string", length=255, nullable=true)
  162.      */
  163.     private $companyName;
  164.     /**
  165.      * @var string
  166.      *
  167.      * @ORM\Column(name="company_number", type="string", length=255, nullable=true)
  168.      */
  169.     private $companyNumber;
  170.     
  171.     /**
  172.      * @var integer
  173.      *
  174.      * @ORM\Column(name="upated_uid", type="bigint", length=20, options={"unsigned"=true}, nullable=true)
  175.      */
  176.     private $upatedUid;
  177.     
  178.     /**
  179.      * @var \DateTime
  180.      * @Gedmo\Timestampable(on="update")
  181.      * @ORM\Column(name="updated_at", type="datetime", nullable=true)
  182.      */
  183.     private $updatedAt;
  184.     
  185.     
  186.     /**
  187.      * Get id
  188.      *
  189.      * @return integer
  190.      */
  191.     public function getId()
  192.     {
  193.         return $this->id;
  194.     }
  195.     /**
  196.      * Set trackingId
  197.      *
  198.      * @param string $trackingId
  199.      *
  200.      * @return OrderShippingDetail
  201.      */
  202.     public function setTrackingId($trackingId)
  203.     {
  204.         $this->trackingId $trackingId;
  205.         return $this;
  206.     }
  207.     /**
  208.      * Get trackingId
  209.      *
  210.      * @return string
  211.      */
  212.     public function getTrackingId()
  213.     {
  214.         return $this->trackingId;
  215.     }
  216.     /**
  217.      * Set shippingTypeAdmin
  218.      *
  219.      * @param string $shippingTypeAdmin
  220.      *
  221.      * @return OrderShippingDetail
  222.      */
  223.     public function setShippingTypeAdmin($shippingTypeAdmin)
  224.     {
  225.         $this->shippingTypeAdmin $shippingTypeAdmin;
  226.         return $this;
  227.     }
  228.     /**
  229.      * Get shippingTypeAdmin
  230.      *
  231.      * @return string
  232.      */
  233.     public function getShippingTypeAdmin()
  234.     {
  235.         return $this->shippingTypeAdmin;
  236.     }
  237.     /**
  238.      * Set statusId
  239.      *
  240.      * @param integer $statusId
  241.      *
  242.      * @return OrderShippingDetail
  243.      */
  244.     public function setStatusId($statusId)
  245.     {
  246.         $this->statusId $statusId;
  247.         return $this;
  248.     }
  249.     /**
  250.      * Get statusId
  251.      *
  252.      * @return integer
  253.      */
  254.     public function getStatusId()
  255.     {
  256.         return $this->statusId;
  257.     }
  258.     /**
  259.      * Set statusCode
  260.      *
  261.      * @param string $statusCode
  262.      *
  263.      * @return OrderShippingDetail
  264.      */
  265.     public function setStatusCode($statusCode)
  266.     {
  267.         $this->statusCode $statusCode;
  268.         return $this;
  269.     }
  270.     /**
  271.      * Get statusCode
  272.      *
  273.      * @return string
  274.      */
  275.     public function getStatusCode()
  276.     {
  277.         return $this->statusCode;
  278.     }
  279.     /**
  280.      * Set shippingType
  281.      *
  282.      * @param string $shippingType
  283.      *
  284.      * @return OrderShippingDetail
  285.      */
  286.     public function setShippingType($shippingType)
  287.     {
  288.         $this->shippingType $shippingType;
  289.         return $this;
  290.     }
  291.     /**
  292.      * Get shippingType
  293.      *
  294.      * @return string
  295.      */
  296.     public function getShippingType()
  297.     {
  298.         return $this->shippingType;
  299.     }
  300.     /**
  301.      * Set serviceType
  302.      *
  303.      * @param string $serviceType
  304.      *
  305.      * @return OrderShippingDetail
  306.      */
  307.     public function setServiceType($serviceType)
  308.     {
  309.         $this->serviceType $serviceType;
  310.         return $this;
  311.     }
  312.     /**
  313.      * Get serviceType
  314.      *
  315.      * @return string
  316.      */
  317.     public function getServiceType()
  318.     {
  319.         return $this->serviceType;
  320.     }
  321.     /**
  322.      * Set shippingCharge
  323.      *
  324.      * @param string $shippingCharge
  325.      *
  326.      * @return OrderShippingDetail
  327.      */
  328.     public function setShippingCharge($shippingCharge)
  329.     {
  330.         $this->shippingCharge $shippingCharge;
  331.         return $this;
  332.     }
  333.     /**
  334.      * Get shippingCharge
  335.      *
  336.      * @return string
  337.      */
  338.     public function getShippingCharge()
  339.     {
  340.         return $this->shippingCharge;
  341.     }
  342.     /**
  343.      * Set name
  344.      *
  345.      * @param string $name
  346.      *
  347.      * @return OrderShippingDetail
  348.      */
  349.     public function setName($name)
  350.     {
  351.         $this->name $name;
  352.         return $this;
  353.     }
  354.     /**
  355.      * Get name
  356.      *
  357.      * @return string
  358.      */
  359.     public function getName()
  360.     {
  361.         return $this->name;
  362.     }
  363.     /**
  364.      * Set email
  365.      *
  366.      * @param string $email
  367.      *
  368.      * @return OrderShippingDetail
  369.      */
  370.     public function setEmail($email)
  371.     {
  372.         $this->email $email;
  373.         return $this;
  374.     }
  375.     /**
  376.      * Get email
  377.      *
  378.      * @return string
  379.      */
  380.     public function getEmail()
  381.     {
  382.         return $this->email;
  383.     }
  384.     /**
  385.      * Set street1
  386.      *
  387.      * @param string $street1
  388.      *
  389.      * @return OrderShippingDetail
  390.      */
  391.     public function setStreet1($street1)
  392.     {
  393.         $this->street1 $street1;
  394.         return $this;
  395.     }
  396.     /**
  397.      * Get street1
  398.      *
  399.      * @return string
  400.      */
  401.     public function getStreet1()
  402.     {
  403.         return $this->street1;
  404.     }
  405.     /**
  406.      * Set street2
  407.      *
  408.      * @param string $street2
  409.      *
  410.      * @return OrderShippingDetail
  411.      */
  412.     public function setStreet2($street2)
  413.     {
  414.         $this->street2 $street2;
  415.         return $this;
  416.     }
  417.     /**
  418.      * Get street2
  419.      *
  420.      * @return string
  421.      */
  422.     public function getStreet2()
  423.     {
  424.         return $this->street2;
  425.     }
  426.     /**
  427.      * Set countryName
  428.      *
  429.      * @param string $countryName
  430.      *
  431.      * @return OrderShippingDetail
  432.      */
  433.     public function setCountryName($countryName)
  434.     {
  435.         $this->countryName $countryName;
  436.         return $this;
  437.     }
  438.     /**
  439.      * Get countryName
  440.      *
  441.      * @return string
  442.      */
  443.     public function getCountryName()
  444.     {
  445.         return $this->countryName;
  446.     }
  447.     /**
  448.      * Set stateName
  449.      *
  450.      * @param string $stateName
  451.      *
  452.      * @return OrderShippingDetail
  453.      */
  454.     public function setStateName($stateName)
  455.     {
  456.         $this->stateName $stateName;
  457.         return $this;
  458.     }
  459.     /**
  460.      * Get stateName
  461.      *
  462.      * @return string
  463.      */
  464.     public function getStateName()
  465.     {
  466.         return $this->stateName;
  467.     }
  468.     /**
  469.      * Set cityName
  470.      *
  471.      * @param string $cityName
  472.      *
  473.      * @return OrderShippingDetail
  474.      */
  475.     public function setCityName($cityName)
  476.     {
  477.         $this->cityName $cityName;
  478.         return $this;
  479.     }
  480.     /**
  481.      * Get cityName
  482.      *
  483.      * @return string
  484.      */
  485.     public function getCityName()
  486.     {
  487.         return $this->cityName;
  488.     }
  489.     /**
  490.      * Set zipCode
  491.      *
  492.      * @param string $zipCode
  493.      *
  494.      * @return OrderShippingDetail
  495.      */
  496.     public function setZipCode($zipCode)
  497.     {
  498.         $this->zipCode $zipCode;
  499.         return $this;
  500.     }
  501.     /**
  502.      * Get zipCode
  503.      *
  504.      * @return string
  505.      */
  506.     public function getZipCode()
  507.     {
  508.         return $this->zipCode;
  509.     }
  510.     /**
  511.      * Set extension
  512.      *
  513.      * @param string $extension
  514.      *
  515.      * @return OrderShippingDetail
  516.      */
  517.     public function setExtension($extension)
  518.     {
  519.         $this->extension $extension;
  520.         return $this;
  521.     }
  522.     /**
  523.      * Get extension
  524.      *
  525.      * @return string
  526.      */
  527.     public function getExtension()
  528.     {
  529.         return $this->extension;
  530.     }
  531.     /**
  532.      * Set phone
  533.      *
  534.      * @param string $phone
  535.      *
  536.      * @return OrderShippingDetail
  537.      */
  538.     public function setPhone($phone)
  539.     {
  540.         $this->phone $phone;
  541.         return $this;
  542.     }
  543.     /**
  544.      * Get phone
  545.      *
  546.      * @return string
  547.      */
  548.     public function getPhone()
  549.     {
  550.         return $this->phone;
  551.     }
  552.     /**
  553.      * Set fax
  554.      *
  555.      * @param string $fax
  556.      *
  557.      * @return OrderShippingDetail
  558.      */
  559.     public function setFax($fax)
  560.     {
  561.         $this->fax $fax;
  562.         return $this;
  563.     }
  564.     /**
  565.      * Get fax
  566.      *
  567.      * @return string
  568.      */
  569.     public function getFax()
  570.     {
  571.         return $this->fax;
  572.     }
  573.     /**
  574.      * Set website
  575.      *
  576.      * @param string $website
  577.      *
  578.      * @return OrderShippingDetail
  579.      */
  580.     public function setWebsite($website)
  581.     {
  582.         $this->website $website;
  583.         return $this;
  584.     }
  585.     /**
  586.      * Get website
  587.      *
  588.      * @return string
  589.      */
  590.     public function getWebsite()
  591.     {
  592.         return $this->website;
  593.     }
  594.     /**
  595.      * Set companyName
  596.      *
  597.      * @param string $companyName
  598.      *
  599.      * @return OrderShippingDetail
  600.      */
  601.     public function setCompanyName($companyName)
  602.     {
  603.         $this->companyName $companyName;
  604.         return $this;
  605.     }
  606.     /**
  607.      * Get companyName
  608.      *
  609.      * @return string
  610.      */
  611.     public function getCompanyName()
  612.     {
  613.         return $this->companyName;
  614.     }
  615.     /**
  616.      * Set companyNumber
  617.      *
  618.      * @param string $companyNumber
  619.      *
  620.      * @return OrderShippingDetail
  621.      */
  622.     public function setCompanyNumber($companyNumber)
  623.     {
  624.         $this->companyNumber $companyNumber;
  625.         return $this;
  626.     }
  627.     /**
  628.      * Get companyNumber
  629.      *
  630.      * @return string
  631.      */
  632.     public function getCompanyNumber()
  633.     {
  634.         return $this->companyNumber;
  635.     }
  636.     /**
  637.      * Set upatedUid
  638.      *
  639.      * @param integer $upatedUid
  640.      *
  641.      * @return OrderShippingDetail
  642.      */
  643.     public function setUpatedUid($upatedUid)
  644.     {
  645.         $this->upatedUid $upatedUid;
  646.         return $this;
  647.     }
  648.     /**
  649.      * Get upatedUid
  650.      *
  651.      * @return integer
  652.      */
  653.     public function getUpatedUid()
  654.     {
  655.         return $this->upatedUid;
  656.     }
  657.     /**
  658.      * Set updatedAt
  659.      *
  660.      * @param \DateTime $updatedAt
  661.      *
  662.      * @return OrderShippingDetail
  663.      */
  664.     public function setUpdatedAt($updatedAt)
  665.     {
  666.         $this->updatedAt $updatedAt;
  667.         return $this;
  668.     }
  669.     /**
  670.      * Get updatedAt
  671.      *
  672.      * @return \DateTime
  673.      */
  674.     public function getUpdatedAt()
  675.     {
  676.         return $this->updatedAt;
  677.     }
  678.     /**
  679.      * Set orderProductId
  680.      *
  681.      * @param \App\OfficeBrain\Bundle\OrderBundle\Entity\OrderProduct $orderProductId
  682.      *
  683.      * @return OrderShippingDetail
  684.      */
  685.     public function setOrderProductId(\App\OfficeBrain\Bundle\OrderBundle\Entity\OrderProduct $orderProductId null)
  686.     {
  687.         $this->orderProductId $orderProductId;
  688.         return $this;
  689.     }
  690.     /**
  691.      * Get orderProductId
  692.      *
  693.      * @return \App\OfficeBrain\Bundle\OrderBundle\Entity\OrderProduct
  694.      */
  695.     public function getOrderProductId()
  696.     {
  697.         return $this->orderProductId;
  698.     }
  699.     /**
  700.      * Set carrierType
  701.      *
  702.      * @param string $carrierType
  703.      *
  704.      * @return OrderShippingDetail
  705.      */
  706.     public function setCarrierType($carrierType)
  707.     {
  708.         $this->carrierType $carrierType;
  709.         return $this;
  710.     }
  711.     /**
  712.      * Get carrierType
  713.      *
  714.      * @return string
  715.      */
  716.     public function getCarrierType()
  717.     {
  718.         return $this->carrierType;
  719.     }
  720.     /**
  721.      * Set shipperAccount
  722.      *
  723.      * @param string $shipperAccount
  724.      *
  725.      * @return OrderShippingDetail
  726.      */
  727.     public function setShipperAccount($shipperAccount)
  728.     {
  729.         $this->shipperAccount $shipperAccount;
  730.         return $this;
  731.     }
  732.     /**
  733.      * Get shipperAccount
  734.      *
  735.      * @return string
  736.      */
  737.     public function getShipperAccount()
  738.     {
  739.         return $this->shipperAccount;
  740.     }
  741. }