src/Entity/Bien.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\BienRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=BienRepository::class)
  7.  */
  8. class Bien
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255, nullable=true)
  18.      */
  19.     private $annonceType;
  20.     /**
  21.      * @ORM\Column(type="string", length=255, nullable=true)
  22.      */
  23.     private $bienType;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */
  27.     private $codePostal;
  28.     /**
  29.      * @ORM\Column(type="string", length=255, nullable=true)
  30.      */
  31.     private $ville;
  32.     /**
  33.      * @ORM\Column(type="string", length=255, nullable=true)
  34.      */
  35.     private $adresse;
  36.     /**
  37.      * @ORM\Column(type="string", length=255, nullable=true)
  38.      */
  39.     private $prix;
  40.     /**
  41.      * @ORM\Column(type="string", length=255, nullable=true)
  42.      */
  43.     private $honoraires;
  44.     /**
  45.      * @ORM\Column(type="string", length=255, nullable=true)
  46.      */
  47.     private $surfaceBien;
  48.     /**
  49.      * @ORM\Column(type="string", length=255, nullable=true)
  50.      */
  51.     private $surfaceTerrain;
  52.     /**
  53.      * @ORM\Column(type="string", length=255, nullable=true)
  54.      */
  55.     private $nbPieces;
  56.     /**
  57.      * @ORM\Column(type="string", length=255, nullable=true)
  58.      */
  59.     private $nbChambres;
  60.     /**
  61.      * @ORM\Column(type="text", nullable=true)
  62.      */
  63.     private $libelle;
  64.     /**
  65.      * @ORM\Column(type="text", nullable=true)
  66.      */
  67.     private $descriptif;
  68.     /**
  69.      * @ORM\Column(type="string", length=255, nullable=true)
  70.      */
  71.     private $etage;
  72.     /**
  73.      * @ORM\Column(type="string", length=255, nullable=true)
  74.      */
  75.     private $nbEtage;
  76.     /**
  77.      * @ORM\Column(type="string", length=255, nullable=true)
  78.      */
  79.     private $meuble;
  80.     /**
  81.      * @ORM\Column(type="string", length=255, nullable=true)
  82.      */
  83.     private $ascenseur;
  84.     /**
  85.      * @ORM\Column(type="string", length=255, nullable=true)
  86.      */
  87.     private $cave;
  88.     /**
  89.      * @ORM\Column(type="string", length=255, nullable=true)
  90.      */
  91.     private $nbParkings;
  92.     /**
  93.      * @ORM\Column(type="string", length=255, nullable=true)
  94.      */
  95.     private $photo1;
  96.     /**
  97.      * @ORM\Column(type="string", length=255, nullable=true)
  98.      */
  99.     private $photo2;
  100.     /**
  101.      * @ORM\Column(type="string", length=255, nullable=true)
  102.      */
  103.     private $photo3;
  104.     /**
  105.      * @ORM\Column(type="string", length=255, nullable=true)
  106.      */
  107.     private $photo4;
  108.     /**
  109.      * @ORM\Column(type="string", length=255, nullable=true)
  110.      */
  111.     private $photo5;
  112.     /**
  113.      * @ORM\Column(type="string", length=255, nullable=true)
  114.      */
  115.     private $photo6;
  116.     /**
  117.      * @ORM\Column(type="string", length=255, nullable=true)
  118.      */
  119.     private $photo7;
  120.     /**
  121.      * @ORM\Column(type="string", length=255, nullable=true)
  122.      */
  123.     private $photo8;
  124.     /**
  125.      * @ORM\Column(type="string", length=255, nullable=true)
  126.      */
  127.     private $photo9;
  128.     /**
  129.      * @ORM\Column(type="string", length=255, nullable=true)
  130.      */
  131.     private $titrePhoto1;
  132.     /**
  133.      * @ORM\Column(type="string", length=255, nullable=true)
  134.      */
  135.     private $titrePhoto2;
  136.     /**
  137.      * @ORM\Column(type="string", length=255, nullable=true)
  138.      */
  139.     private $titrePhoto3;
  140.     /**
  141.      * @ORM\Column(type="string", length=255, nullable=true)
  142.      */
  143.     private $titrePhoto4;
  144.     /**
  145.      * @ORM\Column(type="string", length=255, nullable=true)
  146.      */
  147.     private $titrePhoto5;
  148.     /**
  149.      * @ORM\Column(type="string", length=255, nullable=true)
  150.      */
  151.     private $titrePhoto6;
  152.     /**
  153.      * @ORM\Column(type="string", length=255, nullable=true)
  154.      */
  155.     private $titrePhoto7;
  156.     /**
  157.      * @ORM\Column(type="string", length=255, nullable=true)
  158.      */
  159.     private $titrePhoto8;
  160.     /**
  161.      * @ORM\Column(type="string", length=255, nullable=true)
  162.      */
  163.     private $titrePhoto9;
  164.     /**
  165.      * @ORM\Column(type="string", length=255, nullable=true)
  166.      */
  167.     private $latitude;
  168.     /**
  169.      * @ORM\Column(type="string", length=255, nullable=true)
  170.      */
  171.     private $longitude;
  172.     /**
  173.      * @ORM\Column(type="string", length=255, nullable=true)
  174.      */
  175.     private $refAgencebien;
  176.     /**
  177.      * @ORM\Column(type="boolean")
  178.      */
  179.     private $isEnabled true;
  180.     /**
  181.      * @ORM\Column(type="string", length=3)
  182.      */
  183.     private $coupCoeur;
  184.     public function getId(): ?int
  185.     {
  186.         return $this->id;
  187.     }
  188.     public function getAnnonceType(): ?string
  189.     {
  190.         return $this->annonceType;
  191.     }
  192.     public function setAnnonceType(string $annonceType): self
  193.     {
  194.         $this->annonceType $annonceType;
  195.         return $this;
  196.     }
  197.     public function getBienType(): ?string
  198.     {
  199.         return $this->bienType;
  200.     }
  201.     public function setBienType(string $bienType): self
  202.     {
  203.         $this->bienType $bienType;
  204.         return $this;
  205.     }
  206.     public function getCodePostal(): ?string
  207.     {
  208.         return $this->codePostal;
  209.     }
  210.     public function setCodePostal(string $codePostal): self
  211.     {
  212.         $this->codePostal $codePostal;
  213.         return $this;
  214.     }
  215.     public function getVille(): ?string
  216.     {
  217.         return $this->ville;
  218.     }
  219.     public function setVille(string $ville): self
  220.     {
  221.         $this->ville $ville;
  222.         return $this;
  223.     }
  224.     public function getAdresse(): ?string
  225.     {
  226.         return $this->adresse;
  227.     }
  228.     public function setAdresse(string $adresse): self
  229.     {
  230.         $this->adresse $adresse;
  231.         return $this;
  232.     }
  233.     public function getPrix(): ?string
  234.     {
  235.         return $this->prix;
  236.     }
  237.     public function setPrix(string $prix): self
  238.     {
  239.         $this->prix $prix;
  240.         return $this;
  241.     }
  242.     public function getHonoraires(): ?string
  243.     {
  244.         return $this->honoraires;
  245.     }
  246.     public function setHonoraires(?string $honoraires): self
  247.     {
  248.         $this->honoraires $honoraires;
  249.         return $this;
  250.     }
  251.     public function getSurfaceBien(): ?string
  252.     {
  253.         return $this->surfaceBien;
  254.     }
  255.     public function setSurfaceBien(?string $surfaceBien): self
  256.     {
  257.         $this->surfaceBien $surfaceBien;
  258.         return $this;
  259.     }
  260.     public function getSurfaceTerrain(): ?string
  261.     {
  262.         return $this->surfaceTerrain;
  263.     }
  264.     public function setSurfaceTerrain(?string $surfaceTerrain): self
  265.     {
  266.         $this->surfaceTerrain $surfaceTerrain;
  267.         return $this;
  268.     }
  269.     public function getNbPieces(): ?string
  270.     {
  271.         return $this->nbPieces;
  272.     }
  273.     public function setNbPieces(?string $nbPieces): self
  274.     {
  275.         $this->nbPieces $nbPieces;
  276.         return $this;
  277.     }
  278.     public function getNbChambres(): ?string
  279.     {
  280.         return $this->nbChambres;
  281.     }
  282.     public function setNbChambres(?string $nbChambres): self
  283.     {
  284.         $this->nbChambres $nbChambres;
  285.         return $this;
  286.     }
  287.     public function getLibelle(): ?string
  288.     {
  289.         return $this->libelle;
  290.     }
  291.     public function setLibelle(string $libelle): self
  292.     {
  293.         $this->libelle $libelle;
  294.         return $this;
  295.     }
  296.     public function getDescriptif(): ?string
  297.     {
  298.         return $this->descriptif;
  299.     }
  300.     public function setDescriptif(string $descriptif): self
  301.     {
  302.         $this->descriptif $descriptif;
  303.         return $this;
  304.     }
  305.     public function getEtage(): ?string
  306.     {
  307.         return $this->etage;
  308.     }
  309.     public function setEtage(?string $etage): self
  310.     {
  311.         $this->etage $etage;
  312.         return $this;
  313.     }
  314.     public function getNbEtage(): ?string
  315.     {
  316.         return $this->nbEtage;
  317.     }
  318.     public function setNbEtage(?string $nbEtage): self
  319.     {
  320.         $this->nbEtage $nbEtage;
  321.         return $this;
  322.     }
  323.     public function isMeuble(): ?string
  324.     {
  325.         return $this->meuble;
  326.     }
  327.     public function setMeuble(?string $meuble): self
  328.     {
  329.         $this->meuble $meuble;
  330.         return $this;
  331.     }
  332.     public function isAscenseur(): ?string
  333.     {
  334.         return $this->ascenseur;
  335.     }
  336.     public function setAscenseur(?string $ascenseur): self
  337.     {
  338.         $this->ascenseur $ascenseur;
  339.         return $this;
  340.     }
  341.     public function isCave(): ?string
  342.     {
  343.         return $this->cave;
  344.     }
  345.     public function setCave(?string $cave): self
  346.     {
  347.         $this->cave $cave;
  348.         return $this;
  349.     }
  350.     public function getNbParkings(): ?string
  351.     {
  352.         return $this->nbParkings;
  353.     }
  354.     public function setNbParkings(?string $nbParkings): self
  355.     {
  356.         $this->nbParkings $nbParkings;
  357.         return $this;
  358.     }
  359.     public function getPhoto1(): ?string
  360.     {
  361.         return $this->photo1;
  362.     }
  363.     public function setPhoto1(?string $photo1): self
  364.     {
  365.         $this->photo1 $photo1;
  366.         return $this;
  367.     }
  368.     public function getPhoto2(): ?string
  369.     {
  370.         return $this->photo2;
  371.     }
  372.     public function setPhoto2(?string $photo2): self
  373.     {
  374.         $this->photo2 $photo2;
  375.         return $this;
  376.     }
  377.     public function getPhoto3(): ?string
  378.     {
  379.         return $this->photo3;
  380.     }
  381.     public function setPhoto3(?string $photo3): self
  382.     {
  383.         $this->photo3 $photo3;
  384.         return $this;
  385.     }
  386.     public function getPhoto4(): ?string
  387.     {
  388.         return $this->photo4;
  389.     }
  390.     public function setPhoto4(?string $photo4): self
  391.     {
  392.         $this->photo4 $photo4;
  393.         return $this;
  394.     }
  395.     public function getPhoto5(): ?string
  396.     {
  397.         return $this->photo5;
  398.     }
  399.     public function setPhoto5(?string $photo5): self
  400.     {
  401.         $this->photo5 $photo5;
  402.         return $this;
  403.     }
  404.     public function getPhoto6(): ?string
  405.     {
  406.         return $this->photo6;
  407.     }
  408.     public function setPhoto6(?string $photo6): self
  409.     {
  410.         $this->photo6 $photo6;
  411.         return $this;
  412.     }
  413.     public function getPhoto7(): ?string
  414.     {
  415.         return $this->photo7;
  416.     }
  417.     public function setPhoto7(?string $photo7): self
  418.     {
  419.         $this->photo7 $photo7;
  420.         return $this;
  421.     }
  422.     public function getPhoto8(): ?string
  423.     {
  424.         return $this->photo8;
  425.     }
  426.     public function setPhoto8(?string $photo8): self
  427.     {
  428.         $this->photo8 $photo8;
  429.         return $this;
  430.     }
  431.     public function getPhoto9(): ?string
  432.     {
  433.         return $this->photo9;
  434.     }
  435.     public function setPhoto9(?string $photo9): self
  436.     {
  437.         $this->photo9 $photo9;
  438.         return $this;
  439.     }
  440.     public function getTitrePhoto1(): ?string
  441.     {
  442.         return $this->titrePhoto1;
  443.     }
  444.     public function setTitrePhoto1(?string $titrePhoto1): self
  445.     {
  446.         $this->titrePhoto1 $titrePhoto1;
  447.         return $this;
  448.     }
  449.     public function getTitrePhoto2(): ?string
  450.     {
  451.         return $this->titrePhoto2;
  452.     }
  453.     public function setTitrePhoto2(?string $titrePhoto2): self
  454.     {
  455.         $this->titrePhoto2 $titrePhoto2;
  456.         return $this;
  457.     }
  458.     public function getTitrePhoto3(): ?string
  459.     {
  460.         return $this->titrePhoto3;
  461.     }
  462.     public function setTitrePhoto3(?string $titrePhoto3): self
  463.     {
  464.         $this->titrePhoto3 $titrePhoto3;
  465.         return $this;
  466.     }
  467.     public function getTitrePhoto4(): ?string
  468.     {
  469.         return $this->titrePhoto4;
  470.     }
  471.     public function setTitrePhoto4(?string $titrePhoto4): self
  472.     {
  473.         $this->titrePhoto4 $titrePhoto4;
  474.         return $this;
  475.     }
  476.     public function getTitrePhoto5(): ?string
  477.     {
  478.         return $this->titrePhoto5;
  479.     }
  480.     public function setTitrePhoto5(?string $titrePhoto5): self
  481.     {
  482.         $this->titrePhoto5 $titrePhoto5;
  483.         return $this;
  484.     }
  485.     public function getTitrePhoto6(): ?string
  486.     {
  487.         return $this->titrePhoto6;
  488.     }
  489.     public function setTitrePhoto6(?string $titrePhoto6): self
  490.     {
  491.         $this->titrePhoto6 $titrePhoto6;
  492.         return $this;
  493.     }
  494.     public function getTitrePhoto7(): ?string
  495.     {
  496.         return $this->titrePhoto7;
  497.     }
  498.     public function setTitrePhoto7(?string $titrePhoto7): self
  499.     {
  500.         $this->titrePhoto7 $titrePhoto7;
  501.         return $this;
  502.     }
  503.     public function getTitrePhoto8(): ?string
  504.     {
  505.         return $this->titrePhoto8;
  506.     }
  507.     public function setTitrePhoto8(?string $titrePhoto8): self
  508.     {
  509.         $this->titrePhoto8 $titrePhoto8;
  510.         return $this;
  511.     }
  512.     public function getTitrePhoto9(): ?string
  513.     {
  514.         return $this->titrePhoto9;
  515.     }
  516.     public function setTitrePhoto9(?string $titrePhoto9): self
  517.     {
  518.         $this->titrePhoto9 $titrePhoto9;
  519.         return $this;
  520.     }
  521.     public function getLatitude(): ?string
  522.     {
  523.         return $this->latitude;
  524.     }
  525.     public function setLatitude(?string $latitude): self
  526.     {
  527.         $this->latitude $latitude;
  528.         return $this;
  529.     }
  530.     public function getLongitude(): ?string
  531.     {
  532.         return $this->longitude;
  533.     }
  534.     public function setLongitude(?string $longitude): self
  535.     {
  536.         $this->longitude $longitude;
  537.         return $this;
  538.     }
  539.     public function getRefAgencebien(): ?string
  540.     {
  541.         return $this->refAgencebien;
  542.     }
  543.     public function setRefAgencebien(string $refAgencebien): self
  544.     {
  545.         $this->refAgencebien $refAgencebien;
  546.         return $this;
  547.     }
  548.     public function __toString()
  549.     {
  550.         return $this->refAgencebien;
  551.     }
  552.     public function isIsEnabled(): ?bool
  553.     {
  554.         return $this->isEnabled;
  555.     }
  556.     public function setIsEnabled(bool $isEnabled): self
  557.     {
  558.         $this->isEnabled $isEnabled;
  559.         return $this;
  560.     }
  561.     public function getCoupCoeur(): ?string
  562.     {
  563.         return $this->coupCoeur;
  564.     }
  565.     public function setCoupCoeur(string $coupCoeur): self
  566.     {
  567.         $this->coupCoeur $coupCoeur;
  568.         return $this;
  569.     }
  570. }