Advertisement
Modius22

Campground Entity

Jun 24th, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 19.13 KB | None | 0 0
  1. <?php
  2.  
  3. namespace AppBundle\Entity;
  4.  
  5. use CommentsBundle\Entity\Comment;
  6. use Doctrine\ORM\Mapping as ORM;
  7. //use UserBundle\Entity\User;
  8.  
  9. /**
  10.  * Campground
  11.  *
  12.  * @ORM\Table(name="campground")
  13.  * @ORM\Entity(repositoryClass="AppBundle\Repository\CampgroundRepository")
  14.  */
  15. class Campground
  16. {
  17.     /**
  18.      * @var int
  19.      *
  20.      * @ORM\Column(name="id", type="integer")
  21.      * @ORM\Id
  22.      * @ORM\GeneratedValue(strategy="AUTO")
  23.      */
  24.     private $id;
  25.  
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="name", type="string", length=100)
  30.      */
  31.     private $name;
  32.  
  33.     /**
  34.      * @var string
  35.      *
  36.      * @ORM\Column(name="street", type="string", length=100, nullable=true)
  37.      */
  38.     private $street;
  39.  
  40.     /**
  41.      * @var string
  42.      *
  43.      * @ORM\Column(name="zip", type="string", length=10, nullable=true)
  44.      */
  45.     private $zip;
  46.  
  47.     /**
  48.      * @var string
  49.      *
  50.      * @ORM\Column(name="town", type="string", length=100, nullable=true)
  51.      */
  52.     private $town;
  53.  
  54.     /**
  55.      * @var string
  56.      *
  57.      * @ORM\Column(name="country", type="string", length=40, nullable=true)
  58.      */
  59.     private $country;
  60.  
  61.     /**
  62.      * @var decimal
  63.      *
  64.      * @ORM\Column(name="latitude", type="decimal", precision=11, scale=7, nullable=true)
  65.      */
  66.     private $latitude;
  67.  
  68.     /**
  69.      * @var decimal
  70.      *
  71.      * @ORM\Column(name="longitude", type="decimal", precision=11, scale=7, nullable=true)
  72.      */
  73.     private $longitude;
  74.  
  75.     /**
  76.      * @var string
  77.      *
  78.      * @ORM\Column(name="land", type="string", length=100, nullable=true)
  79.      */
  80.     private $land;
  81.  
  82.     /**
  83.      * @var string
  84.      *
  85.      * @ORM\Column(name="contactNameAffix", type="string", length=100, nullable=true)
  86.      */
  87.     private $contactNameAffix;
  88.  
  89.     /**
  90.      * @var string
  91.      *
  92.      * @ORM\Column(name="contactName", type="string", length=100)
  93.      */
  94.     private $contactName;
  95.  
  96.     /**
  97.      * @var string
  98.      *
  99.      * @ORM\Column(name="contactStreet", type="string", length=100)
  100.      */
  101.     private $contactStreet;
  102.  
  103.     /**
  104.      * @var string
  105.      *
  106.      * @ORM\Column(name="contactZip", type="string", length=10)
  107.      */
  108.     private $contactZip;
  109.  
  110.     /**
  111.      * @var string
  112.      *
  113.      * @ORM\Column(name="contactTown", type="string", length=100)
  114.      */
  115.     private $contactTown;
  116.  
  117.     /**
  118.      * @var string
  119.      *
  120.      * @ORM\Column(name="contactPhone", type="string", length=40)
  121.      */
  122.     private $contactPhone;
  123.  
  124.     /**
  125.      * @var string
  126.      *
  127.      * @ORM\Column(name="contactMail", type="string", length=255, nullable=true)
  128.      */
  129.     private $contactMail;
  130.  
  131.     /**
  132.      * @var string
  133.      *
  134.      * @ORM\Column(name="homepage", type="string", length=255, nullable=true)
  135.      */
  136.     private $homepage;
  137.  
  138.     /**
  139.      * @var float
  140.      *
  141.      * @ORM\Column(name="size", type="float")
  142.      */
  143.     private $size;
  144.  
  145.     /**
  146.      * @var int
  147.      *
  148.      * @ORM\Column(name="area", type="integer")
  149.      */
  150.     private $area;
  151.  
  152.     /**
  153.      * @var bool
  154.      *
  155.      * @ORM\Column(name="fireplace", type="boolean")
  156.      */
  157.     private $fireplace;
  158.  
  159.     /**
  160.      * @var bool
  161.      *
  162.      * @ORM\Column(name="parking", type="boolean")
  163.      */
  164.     private $parking;
  165.  
  166.     /**
  167.      * @var float
  168.      *
  169.      * @ORM\Column(name="priceAdults", type="float", nullable=true)
  170.      */
  171.     private $priceAdults;
  172.  
  173.     /**
  174.      * @var float
  175.      *
  176.      * @ORM\Column(name="priceChilds", type="float", nullable=true)
  177.      */
  178.     private $priceChilds;
  179.  
  180.     /**
  181.      * @var float
  182.      *
  183.      * @ORM\Column(name="deposit", type="float", nullable=true)
  184.      */
  185.     private $deposit;
  186.  
  187.     /**
  188.      * @var bool
  189.      *
  190.      * @ORM\Column(name="house", type="boolean")
  191.      */
  192.     private $house;
  193.  
  194.     /**
  195.      * @var bool
  196.      *
  197.      * @ORM\Column(name="kitchen", type="boolean")
  198.      */
  199.     private $kitchen;
  200.  
  201.     /**
  202.      * @var bool
  203.      *
  204.      * @ORM\Column(name="sanitary", type="boolean")
  205.      */
  206.     private $sanitary;
  207.  
  208.     /**
  209.      * @var bool
  210.      *
  211.      * @ORM\Column(name="lounge", type="boolean")
  212.      */
  213.     private $lounge;
  214.  
  215.     /**
  216.      * @var bool
  217.      *
  218.      * @ORM\Column(name="water", type="boolean")
  219.      */
  220.     private $water;
  221.  
  222.     /**
  223.      * @var bool
  224.      *
  225.      * @ORM\Column(name="energy", type="boolean")
  226.      */
  227.     private $energy;
  228.  
  229.     /**
  230.      * @var int
  231.      *
  232.      * @ORM\Column(name="maxPersons", type="integer")
  233.      */
  234.     private $maxPersons;
  235.  
  236.     /**
  237.      * @var string
  238.      *
  239.      * @ORM\Column(name="description", type="text", nullable=true)
  240.      */
  241.     private $description;
  242.  
  243.     /**
  244.      * @var Comment[]
  245.      * @ORM\OneToMany(targetEntity="CommentsBundle\Entity\Comment", mappedBy="campground")
  246.      */
  247.     private $comments;
  248.  
  249.     /**
  250.      * @var User
  251.      * @ORM\ManyToOne(targetEntity="AppBundle\Entity\User", inversedBy="campgrounds")
  252.      */
  253.     //private $user;
  254.  
  255.     /**
  256.      * @var Picture
  257.      * @ORM\OneToMany(targetEntity="AppBundle\Entity\Picture", mappedBy="campgrounds")
  258.      */
  259.     private $picture;
  260.  
  261.     /**
  262.      * Get id
  263.      *
  264.      * @return integer
  265.      */
  266.     public function getId()
  267.     {
  268.         return $this->id;
  269.     }
  270.  
  271.     /**
  272.      * Set name
  273.      *
  274.      * @param string $name
  275.      *
  276.      * @return Campground
  277.      */
  278.     public function setName($name)
  279.     {
  280.         $this->name = $name;
  281.  
  282.         return $this;
  283.     }
  284.  
  285.     /**
  286.      * Get name
  287.      *
  288.      * @return string
  289.      */
  290.     public function getName()
  291.     {
  292.         return $this->name;
  293.     }
  294.  
  295.     /**
  296.      * Set street
  297.      *
  298.      * @param string $street
  299.      *
  300.      * @return Campground
  301.      */
  302.     public function setStreet($street)
  303.     {
  304.         $this->street = $street;
  305.  
  306.         return $this;
  307.     }
  308.  
  309.     /**
  310.      * Get street
  311.      *
  312.      * @return string
  313.      */
  314.     public function getStreet()
  315.     {
  316.         return $this->street;
  317.     }
  318.  
  319.     /**
  320.      * Set zip
  321.      *
  322.      * @param string $zip
  323.      *
  324.      * @return Campground
  325.      */
  326.     public function setZip($zip)
  327.     {
  328.         $this->zip = $zip;
  329.  
  330.         return $this;
  331.     }
  332.  
  333.     /**
  334.      * Get zip
  335.      *
  336.      * @return string
  337.      */
  338.     public function getZip()
  339.     {
  340.         return $this->zip;
  341.     }
  342.  
  343.     /**
  344.      * Set town
  345.      *
  346.      * @param string $town
  347.      *
  348.      * @return Campground
  349.      */
  350.     public function setTown($town)
  351.     {
  352.         $this->town = $town;
  353.  
  354.         return $this;
  355.     }
  356.  
  357.     /**
  358.      * Get town
  359.      *
  360.      * @return string
  361.      */
  362.     public function getTown()
  363.     {
  364.         return $this->town;
  365.     }
  366.  
  367.     /**
  368.      * Set country
  369.      *
  370.      * @param string $country
  371.      *
  372.      * @return Campground
  373.      */
  374.     public function setCountry($country)
  375.     {
  376.         $this->country = $country;
  377.  
  378.         return $this;
  379.     }
  380.  
  381.     /**
  382.      * Get country
  383.      *
  384.      * @return string
  385.      */
  386.     public function getCountry()
  387.     {
  388.         return $this->country;
  389.     }
  390.  
  391.     /**
  392.      * Set contactName
  393.      *
  394.      * @param string $contactName
  395.      *
  396.      * @return Campground
  397.      */
  398.     public function setContactName($contactName)
  399.     {
  400.         $this->contactName = $contactName;
  401.  
  402.         return $this;
  403.     }
  404.  
  405.     /**
  406.      * Get contactName
  407.      *
  408.      * @return string
  409.      */
  410.     public function getContactName()
  411.     {
  412.         return $this->contactName;
  413.     }
  414.  
  415.     /**
  416.      * Set contactStreet
  417.      *
  418.      * @param string $contactStreet
  419.      *
  420.      * @return Campground
  421.      */
  422.     public function setContactStreet($contactStreet)
  423.     {
  424.         $this->contactStreet = $contactStreet;
  425.  
  426.         return $this;
  427.     }
  428.  
  429.     /**
  430.      * Get contactStreet
  431.      *
  432.      * @return string
  433.      */
  434.     public function getContactStreet()
  435.     {
  436.         return $this->contactStreet;
  437.     }
  438.  
  439.     /**
  440.      * Set contactZip
  441.      *
  442.      * @param string $contactZip
  443.      *
  444.      * @return Campground
  445.      */
  446.     public function setContactZip($contactZip)
  447.     {
  448.         $this->contactZip = $contactZip;
  449.  
  450.         return $this;
  451.     }
  452.  
  453.     /**
  454.      * Get contactZip
  455.      *
  456.      * @return string
  457.      */
  458.     public function getContactZip()
  459.     {
  460.         return $this->contactZip;
  461.     }
  462.  
  463.     /**
  464.      * Set contactTown
  465.      *
  466.      * @param string $contactTown
  467.      *
  468.      * @return Campground
  469.      */
  470.     public function setContactTown($contactTown)
  471.     {
  472.         $this->contactTown = $contactTown;
  473.  
  474.         return $this;
  475.     }
  476.  
  477.     /**
  478.      * Get contactTown
  479.      *
  480.      * @return string
  481.      */
  482.     public function getContactTown()
  483.     {
  484.         return $this->contactTown;
  485.     }
  486.  
  487.     /**
  488.      * Set contactPhone
  489.      *
  490.      * @param string $contactPhone
  491.      *
  492.      * @return Campground
  493.      */
  494.     public function setContactPhone($contactPhone)
  495.     {
  496.         $this->contactPhone = $contactPhone;
  497.  
  498.         return $this;
  499.     }
  500.  
  501.     /**
  502.      * Get contactPhone
  503.      *
  504.      * @return string
  505.      */
  506.     public function getContactPhone()
  507.     {
  508.         return $this->contactPhone;
  509.     }
  510.  
  511.     /**
  512.      * Set contactMail
  513.      *
  514.      * @param string $contactMail
  515.      *
  516.      * @return Campground
  517.      */
  518.     public function setContactMail($contactMail)
  519.     {
  520.         $this->contactMail = $contactMail;
  521.  
  522.         return $this;
  523.     }
  524.  
  525.     /**
  526.      * Get contactMail
  527.      *
  528.      * @return string
  529.      */
  530.     public function getContactMail()
  531.     {
  532.         return $this->contactMail;
  533.     }
  534.  
  535.     /**
  536.      * Set homepage
  537.      *
  538.      * @param string $homepage
  539.      *
  540.      * @return Campground
  541.      */
  542.     public function setHomepage($homepage)
  543.     {
  544.         $this->homepage = $homepage;
  545.  
  546.         return $this;
  547.     }
  548.  
  549.     /**
  550.      * Get homepage
  551.      *
  552.      * @return string
  553.      */
  554.     public function getHomepage()
  555.     {
  556.         return $this->homepage;
  557.     }
  558.  
  559.     /**
  560.      * Set size
  561.      *
  562.      * @param float $size
  563.      *
  564.      * @return Campground
  565.      */
  566.     public function setSize($size)
  567.     {
  568.         $this->size = $size;
  569.  
  570.         return $this;
  571.     }
  572.  
  573.     /**
  574.      * Get size
  575.      *
  576.      * @return float
  577.      */
  578.     public function getSize()
  579.     {
  580.         return $this->size;
  581.     }
  582.  
  583.     /**
  584.      * Set fireplace
  585.      *
  586.      * @param boolean $fireplace
  587.      *
  588.      * @return Campground
  589.      */
  590.     public function setFireplace($fireplace)
  591.     {
  592.         $this->fireplace = $fireplace;
  593.  
  594.         return $this;
  595.     }
  596.  
  597.     /**
  598.      * Get fireplace
  599.      *
  600.      * @return boolean
  601.      */
  602.     public function getFireplace()
  603.     {
  604.         return $this->fireplace;
  605.     }
  606.  
  607.     /**
  608.      * Set parking
  609.      *
  610.      * @param boolean $parking
  611.      *
  612.      * @return Campground
  613.      */
  614.     public function setParking($parking)
  615.     {
  616.         $this->parking = $parking;
  617.  
  618.         return $this;
  619.     }
  620.  
  621.     /**
  622.      * Get parking
  623.      *
  624.      * @return boolean
  625.      */
  626.     public function getParking()
  627.     {
  628.         return $this->parking;
  629.     }
  630.  
  631.     /**
  632.      * Set priceAdults
  633.      *
  634.      * @param float $priceAdults
  635.      *
  636.      * @return Campground
  637.      */
  638.     public function setPriceAdults($priceAdults)
  639.     {
  640.         $this->priceAdults = $priceAdults;
  641.  
  642.         return $this;
  643.     }
  644.  
  645.     /**
  646.      * Get priceAdults
  647.      *
  648.      * @return float
  649.      */
  650.     public function getPriceAdults()
  651.     {
  652.         return $this->priceAdults;
  653.     }
  654.  
  655.     /**
  656.      * Set priceChilds
  657.      *
  658.      * @param float $priceChilds
  659.      *
  660.      * @return Campground
  661.      */
  662.     public function setPriceChilds($priceChilds)
  663.     {
  664.         $this->priceChilds = $priceChilds;
  665.  
  666.         return $this;
  667.     }
  668.  
  669.     /**
  670.      * Get priceChilds
  671.      *
  672.      * @return float
  673.      */
  674.     public function getPriceChilds()
  675.     {
  676.         return $this->priceChilds;
  677.     }
  678.  
  679.     /**
  680.      * Set deposit
  681.      *
  682.      * @param float $deposit
  683.      *
  684.      * @return Campground
  685.      */
  686.     public function setDeposit($deposit)
  687.     {
  688.         $this->deposit = $deposit;
  689.  
  690.         return $this;
  691.     }
  692.  
  693.     /**
  694.      * Get deposit
  695.      *
  696.      * @return float
  697.      */
  698.     public function getDeposit()
  699.     {
  700.         return $this->deposit;
  701.     }
  702.  
  703.     /**
  704.      * Set house
  705.      *
  706.      * @param boolean $house
  707.      *
  708.      * @return Campground
  709.      */
  710.     public function setHouse($house)
  711.     {
  712.         $this->house = $house;
  713.  
  714.         return $this;
  715.     }
  716.  
  717.     /**
  718.      * Get house
  719.      *
  720.      * @return boolean
  721.      */
  722.     public function getHouse()
  723.     {
  724.         return $this->house;
  725.     }
  726.  
  727.     /**
  728.      * Set kitchen
  729.      *
  730.      * @param boolean $kitchen
  731.      *
  732.      * @return Campground
  733.      */
  734.     public function setKitchen($kitchen)
  735.     {
  736.         $this->kitchen = $kitchen;
  737.  
  738.         return $this;
  739.     }
  740.  
  741.     /**
  742.      * Get kitchen
  743.      *
  744.      * @return boolean
  745.      */
  746.     public function getKitchen()
  747.     {
  748.         return $this->kitchen;
  749.     }
  750.  
  751.     /**
  752.      * Set sanitary
  753.      *
  754.      * @param boolean $sanitary
  755.      *
  756.      * @return Campground
  757.      */
  758.     public function setSanitary($sanitary)
  759.     {
  760.         $this->sanitary = $sanitary;
  761.  
  762.         return $this;
  763.     }
  764.  
  765.     /**
  766.      * Get sanitary
  767.      *
  768.      * @return boolean
  769.      */
  770.     public function getSanitary()
  771.     {
  772.         return $this->sanitary;
  773.     }
  774.  
  775.     /**
  776.      * Set lounge
  777.      *
  778.      * @param boolean $lounge
  779.      *
  780.      * @return Campground
  781.      */
  782.     public function setLounge($lounge)
  783.     {
  784.         $this->lounge = $lounge;
  785.  
  786.         return $this;
  787.     }
  788.  
  789.     /**
  790.      * Get lounge
  791.      *
  792.      * @return boolean
  793.      */
  794.     public function getLounge()
  795.     {
  796.         return $this->lounge;
  797.     }
  798.  
  799.     /**
  800.      * Set water
  801.      *
  802.      * @param boolean $water
  803.      *
  804.      * @return Campground
  805.      */
  806.     public function setWater($water)
  807.     {
  808.         $this->water = $water;
  809.  
  810.         return $this;
  811.     }
  812.  
  813.     /**
  814.      * Get water
  815.      *
  816.      * @return boolean
  817.      */
  818.     public function getWater()
  819.     {
  820.         return $this->water;
  821.     }
  822.  
  823.     /**
  824.      * Set maxPersons
  825.      *
  826.      * @param integer $maxPersons
  827.      *
  828.      * @return Campground
  829.      */
  830.     public function setMaxPersons($maxPersons)
  831.     {
  832.         $this->maxPersons = $maxPersons;
  833.  
  834.         return $this;
  835.     }
  836.  
  837.     /**
  838.      * Get maxPersons
  839.      *
  840.      * @return integer
  841.      */
  842.     public function getMaxPersons()
  843.     {
  844.         return $this->maxPersons;
  845.     }
  846.  
  847.     /**
  848.      * Set description
  849.      *
  850.      * @param string $description
  851.      *
  852.      * @return Campground
  853.      */
  854.     public function setDescription($description)
  855.     {
  856.         $this->description = $description;
  857.  
  858.         return $this;
  859.     }
  860.  
  861.     /**
  862.      * Get description
  863.      *
  864.      * @return string
  865.      */
  866.     public function getDescription()
  867.     {
  868.         return $this->description;
  869.     }
  870.  
  871.     /**
  872.      * Set comments
  873.      *
  874.      * @param \CommentsBundle\Entity\Comment $comments
  875.      *
  876.      * @return Campground
  877.      */
  878.     public function setComments(\CommentsBundle\Entity\Comment $comments = null)
  879.     {
  880.         $this->comments = $comments;
  881.  
  882.         return $this;
  883.     }
  884.  
  885.     /**
  886.      * Get comments
  887.      *
  888.      * @return \CommentsBundle\Entity\Comment
  889.      */
  890.     public function getComments()
  891.     {
  892.         return $this->comments;
  893.     }
  894.  
  895.     public function __toString()
  896.     {
  897.         return strval($this->name);
  898.     }
  899.     /**
  900.      * Constructor
  901.      */
  902.     public function __construct()
  903.     {
  904.         $this->comments = new \Doctrine\Common\Collections\ArrayCollection();
  905.     }
  906.  
  907.  
  908.     /**
  909.      * Set area
  910.      *
  911.      * @param integer $area
  912.      *
  913.      * @return Campground
  914.      */
  915.     public function setArea($area)
  916.     {
  917.         $this->area = $area;
  918.  
  919.         return $this;
  920.     }
  921.  
  922.     /**
  923.      * Get area
  924.      *
  925.      * @return integer
  926.      */
  927.     public function getArea()
  928.     {
  929.         return $this->area;
  930.     }
  931.  
  932.     /**
  933.      * Add comment
  934.      *
  935.      * @param \CommentsBundle\Entity\Comment $comment
  936.      *
  937.      * @return Campground
  938.      */
  939.     public function addComment(\CommentsBundle\Entity\Comment $comment)
  940.     {
  941.         $this->comments[] = $comment;
  942.  
  943.         return $this;
  944.     }
  945.  
  946.     /**
  947.      * Remove comment
  948.      *
  949.      * @param \CommentsBundle\Entity\Comment $comment
  950.      */
  951.     public function removeComment(\CommentsBundle\Entity\Comment $comment)
  952.     {
  953.         $this->comments->removeElement($comment);
  954.     }
  955.  
  956.     /**
  957.      * Set user
  958.      *
  959.      * @param \UserBundle\Entity\User $user
  960.      *
  961.      * @return Campground
  962.      */
  963.     public function setUser(\UserBundle\Entity\User $user = null)
  964.     {
  965.         $this->user = $user;
  966.  
  967.         return $this;
  968.     }
  969.  
  970.     /**
  971.      * Get user
  972.      *
  973.      * @return \UserBundle\Entity\User
  974.      */
  975.     public function getUser()
  976.     {
  977.         return $this->user;
  978.     }
  979.  
  980.     /**
  981.      * Set picture
  982.      *
  983.      * @param \AppBundle\Entity\Picture $picture
  984.      *
  985.      * @return Campground
  986.      */
  987.     public function setPicture(\AppBundle\Entity\Picture $picture = null)
  988.     {
  989.         $this->picture = $picture;
  990.  
  991.         return $this;
  992.     }
  993.  
  994.     /**
  995.      * Get picture
  996.      *
  997.      * @return \AppBundle\Entity\Picture
  998.      */
  999.     public function getPicture()
  1000.     {
  1001.         return $this->picture;
  1002.     }
  1003.  
  1004.     /**
  1005.      * Set latitude
  1006.      *
  1007.      * @param string $latitude
  1008.      *
  1009.      * @return Campground
  1010.      */
  1011.     public function setLatitude($latitude)
  1012.     {
  1013.         $this->latitude = $latitude;
  1014.  
  1015.         return $this;
  1016.     }
  1017.  
  1018.     /**
  1019.      * Get latitude
  1020.      *
  1021.      * @return string
  1022.      */
  1023.     public function getLatitude()
  1024.     {
  1025.         return $this->latitude;
  1026.     }
  1027.  
  1028.     /**
  1029.      * Set longitude
  1030.      *
  1031.      * @param string $longitude
  1032.      *
  1033.      * @return Campground
  1034.      */
  1035.     public function setLongitude($longitude)
  1036.     {
  1037.         $this->longitude = $longitude;
  1038.  
  1039.         return $this;
  1040.     }
  1041.  
  1042.     /**
  1043.      * Get longitude
  1044.      *
  1045.      * @return string
  1046.      */
  1047.     public function getLongitude()
  1048.     {
  1049.         return $this->longitude;
  1050.     }
  1051.  
  1052.     /**
  1053.      * Set land
  1054.      *
  1055.      * @param string $land
  1056.      *
  1057.      * @return Campground
  1058.      */
  1059.     public function setLand($land)
  1060.     {
  1061.         $this->land = $land;
  1062.  
  1063.         return $this;
  1064.     }
  1065.  
  1066.     /**
  1067.      * Get land
  1068.      *
  1069.      * @return string
  1070.      */
  1071.     public function getLand()
  1072.     {
  1073.         return $this->land;
  1074.     }
  1075.  
  1076.     /**
  1077.      * Set contactNameAffix
  1078.      *
  1079.      * @param string $contactNameAffix
  1080.      *
  1081.      * @return Campground
  1082.      */
  1083.     public function setContactNameAffix($contactNameAffix)
  1084.     {
  1085.         $this->contactNameAffix = $contactNameAffix;
  1086.  
  1087.         return $this;
  1088.     }
  1089.  
  1090.     /**
  1091.      * Get contactNameAffix
  1092.      *
  1093.      * @return string
  1094.      */
  1095.     public function getContactNameAffix()
  1096.     {
  1097.         return $this->contactNameAffix;
  1098.     }
  1099.  
  1100.     /**
  1101.      * Set energy
  1102.      *
  1103.      * @param boolean $energy
  1104.      *
  1105.      * @return Campground
  1106.      */
  1107.     public function setEnergy($energy)
  1108.     {
  1109.         $this->energy = $energy;
  1110.  
  1111.         return $this;
  1112.     }
  1113.  
  1114.     /**
  1115.      * Get energy
  1116.      *
  1117.      * @return boolean
  1118.      */
  1119.     public function getEnergy()
  1120.     {
  1121.         return $this->energy;
  1122.     }
  1123. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement