src/Entity/FluxPublication.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FluxPublicationRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=FluxPublicationRepository::class)
  7.  */
  8. class FluxPublication
  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)
  18.      */
  19.     private $title;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      */
  23.     private $url;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */
  27.     private $publisher;
  28.     /**
  29.      * @ORM\Column(type="string", length=255, nullable=true)
  30.      */
  31.     private $subject;
  32.     /**
  33.      * @ORM\Column(type="string", length=255, nullable=true)
  34.      */
  35.     private $eissn;
  36.     /**
  37.      * @ORM\Column(type="string", length=255, nullable=true)
  38.      */
  39.     private $pissn;
  40.     /**
  41.      * @ORM\Column(type="string", length=255, nullable=true)
  42.      */
  43.     private $year;
  44.     /**
  45.      * @ORM\Column(type="text", nullable=true)
  46.      */
  47.     private $abstract;
  48.     /**
  49.      * @ORM\Column(type="string", length=255, nullable=true)
  50.      */
  51.     private $source;
  52.     /**
  53.      * @ORM\Column(type="string", length=255, nullable=true)
  54.      */
  55.     private $language;
  56.     /**
  57.      * @ORM\ManyToOne(targetEntity=Author::class, inversedBy="fluxPublications")
  58.      * @ORM\JoinColumn(nullable=false)
  59.      */
  60.     private $author;
  61.     public function getId(): ?int
  62.     {
  63.         return $this->id;
  64.     }
  65.     public function getTitle(): ?string
  66.     {
  67.         return $this->title;
  68.     }
  69.     public function setTitle(string $title): self
  70.     {
  71.         $this->title $title;
  72.         return $this;
  73.     }
  74.     public function getUrl(): ?string
  75.     {
  76.         return $this->url;
  77.     }
  78.     public function setUrl(string $url): self
  79.     {
  80.         $this->url $url;
  81.         return $this;
  82.     }
  83.     public function getAuthor(): ?Author
  84.     {
  85.         return $this->author;
  86.     }
  87.     public function setAuthor(?Author $author): self
  88.     {
  89.         $this->author $author;
  90.         return $this;
  91.     }
  92.     /**
  93.      * @return mixed
  94.      */
  95.     public function getPublisher()
  96.     {
  97.         return $this->publisher;
  98.     }
  99.     /**
  100.      * @param mixed $publisher
  101.      */
  102.     public function setPublisher($publisher): void
  103.     {
  104.         $this->publisher $publisher;
  105.     }
  106.     /**
  107.      * @return mixed
  108.      */
  109.     public function getSubject()
  110.     {
  111.         return $this->subject;
  112.     }
  113.     /**
  114.      * @param mixed $subject
  115.      */
  116.     public function setSubject($subject): void
  117.     {
  118.         $this->subject $subject;
  119.     }
  120.     /**
  121.      * @return mixed
  122.      */
  123.     public function getEissn()
  124.     {
  125.         return $this->eissn;
  126.     }
  127.     /**
  128.      * @param mixed $eissn
  129.      */
  130.     public function setEissn($eissn): void
  131.     {
  132.         $this->eissn $eissn;
  133.     }
  134.     /**
  135.      * @return mixed
  136.      */
  137.     public function getPissn()
  138.     {
  139.         return $this->pissn;
  140.     }
  141.     /**
  142.      * @param mixed $pissn
  143.      */
  144.     public function setPissn($pissn): void
  145.     {
  146.         $this->pissn $pissn;
  147.     }
  148.     /**
  149.      * @return mixed
  150.      */
  151.     public function getYear()
  152.     {
  153.         return $this->year;
  154.     }
  155.     /**
  156.      * @param mixed $year
  157.      */
  158.     public function setYear($year): void
  159.     {
  160.         $this->year $year;
  161.     }
  162.     /**
  163.      * @return mixed
  164.      */
  165.     public function getAbstract()
  166.     {
  167.         return $this->abstract;
  168.     }
  169.     /**
  170.      * @param mixed $abstract
  171.      */
  172.     public function setAbstract($abstract): void
  173.     {
  174.         $this->abstract $abstract;
  175.     }
  176.     /**
  177.      * @return mixed
  178.      */
  179.     public function getSource()
  180.     {
  181.         return $this->source;
  182.     }
  183.     /**
  184.      * @param mixed $source
  185.      */
  186.     public function setSource($source): void
  187.     {
  188.         $this->source $source;
  189.     }
  190.     /**
  191.      * @return mixed
  192.      */
  193.     public function getLanguage()
  194.     {
  195.         return $this->language;
  196.     }
  197.     /**
  198.      * @param mixed $language
  199.      */
  200.     public function setLanguage($language): void
  201.     {
  202.         $this->language $language;
  203.     }
  204. }