Commit 8de3d8a9 authored by Jean-Baptiste Oellers's avatar Jean-Baptiste Oellers
Browse files

Ajout immobilier source local

parent e9644b1f
Loading
Loading
Loading
Loading
+98 −0
Original line number Diff line number Diff line
<?php

namespace Oscar\Entity;

use Doctrine\ORM\Mapping\Entity;
use Doctrine\ORM\Mapping as ORM;

/**
 * @package Oscar\Entity
 * @Entity
 * @ORM\Entity(repositoryClass="Oscar\Entity\ImmobilierLocalRepository")
 */
class ImmobilierLocal
{
    /**
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     * @ORM\Column(type="integer")
     */
    private $id;

    /**
     * @var string
     * @ORM\Column(type="text", nullable="true")
     */
    private $nom;

    /**
     * @var string
     * @ORM\Column(type="text", nullable="true")
     */
    private $libelle;

    /**
     * @var string
     * @ORM\Column(type="text", nullable="true")
     */
    private $idSourceDistante;

    /**
     * @return mixed
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @return string
     */
    public function getNom(): string
    {
        return $this->nom;
    }

    /**
     * @param string $nom
     */
    public function setNom(string $nom): self
    {
        $this->nom = $nom;
        return $this;
    }

    /**
     * @return string
     */
    public function getLibelle(): string
    {
        return $this->libelle;
    }

    /**
     * @param string $libelle
     */
    public function setLibelle(string $libelle): self
    {
        $this->libelle = $libelle;
        return $this;
    }

    /**
     * @return string
     */
    public function getIdSourceDistante(): string
    {
        return $this->idSourceDistante;
    }

    /**
     * @param string $idSourceDistante
     */
    public function setIdSourceDistante(string $idSourceDistante): self
    {
        $this->idSourceDistante = $idSourceDistante;
        return $this;
    }
}
+10 −0
Original line number Diff line number Diff line
<?php

namespace Oscar\Entity;

use Doctrine\ORM\EntityRepository;

class ImmobilierLocalRepository extends EntityRepository
{
    
}