src/Entity/WorldFeedStats.php line 16

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\Common\Collections\ArrayCollection;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Gedmo\Mapping\Annotation as Gedmo;
  6. use Gedmo\SoftDeleteable\Traits\SoftDeleteableEntity;
  7. /**
  8.  * WorldFeed Stats
  9.  *
  10.  * @ORM\Table(name="worldfeed_stats")
  11.  * @ORM\Entity(repositoryClass="App\Repository\WorldfeedStatsRepository")
  12.  */
  13. class WorldFeedStats implements EntityInterface
  14. {
  15.     use \Gedmo\Timestampable\Traits\TimestampableEntity;
  16.     /**
  17.      * @var int
  18.      *
  19.      * @ORM\Column(name="id", type="integer")
  20.      * @ORM\Id
  21.      * @ORM\GeneratedValue(strategy="AUTO")
  22.      */
  23.     public $id;
  24.     /**
  25.      * @var WorldFeed
  26.      * @ORM\ManyToOne(targetEntity="App\Entity\WorldFeed", inversedBy="worldfeedStats")
  27.      * @ORM\JoinColumn(name="worldfeed", referencedColumnName="id", nullable=false)
  28.      */
  29.     public $worldfeed;
  30.     /**
  31.      * @var string
  32.      * @ORM\Column(name="codeops", type="string", nullable=true)
  33.      */
  34.     public $codeops;
  35.     /**
  36.      * @var string
  37.      * @ORM\Column(name="company_name", type="string", nullable=true)
  38.      */
  39.     public $companyName;
  40.     /**
  41.      * @var string
  42.      * @ORM\Column(name="fullname", type="string", nullable=true)
  43.      */
  44.     public $fullname;
  45.     /**
  46.      * @var string
  47.      * @ORM\Column(name="email", type="string", nullable=true)
  48.      */
  49.     public $email;
  50.     /**
  51.      * Node constructor.
  52.      */
  53.     public function __construct()
  54.     {
  55.     }
  56.     public function toString(): string
  57.     {
  58.         return (string)$this->id;
  59.     }
  60.     public function __toString()
  61.     {
  62.         return (string)$this->id;
  63.     }
  64.     /**
  65.      * @return int
  66.      */
  67.     public function getId()
  68.     {
  69.         return $this->id;
  70.     }
  71.     public function getWorldfeed()
  72.     {
  73.         return $this->worldfeed;
  74.     }
  75.     public function setWorldfeed(?WorldFeed $worldfeed)
  76.     {
  77.         $this->worldfeed $worldfeed;
  78.     }
  79.     public function getCodeops(): ?string
  80.     {
  81.         return $this->codeops;
  82.     }
  83.     public function setCodeops(?string $codeops)
  84.     {
  85.         $this->codeops $codeops;
  86.     }
  87.     public function getCompanyName(): ?string
  88.     {
  89.         return $this->companyName;
  90.     }
  91.     public function setCompanyName(?string $companyName)
  92.     {
  93.         $this->companyName $companyName;
  94.     }
  95.     public function getFullname(): ?string
  96.     {
  97.         return $this->fullname;
  98.     }
  99.     public function setFullname(?string $fullname)
  100.     {
  101.         $this->fullname $fullname;
  102.     }
  103.     public function getEmail(): ?string
  104.     {
  105.         return $this->email;
  106.     }
  107.     public function setEmail(?string $email)
  108.     {
  109.         $this->email $email;
  110.     }
  111. }