<?php
namespace App\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Gedmo\SoftDeleteable\Traits\SoftDeleteableEntity;
/**
* WorldFeed Stats
*
* @ORM\Table(name="worldfeed_stats")
* @ORM\Entity(repositoryClass="App\Repository\WorldfeedStatsRepository")
*/
class WorldFeedStats implements EntityInterface
{
use \Gedmo\Timestampable\Traits\TimestampableEntity;
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
public $id;
/**
* @var WorldFeed
* @ORM\ManyToOne(targetEntity="App\Entity\WorldFeed", inversedBy="worldfeedStats")
* @ORM\JoinColumn(name="worldfeed", referencedColumnName="id", nullable=false)
*/
public $worldfeed;
/**
* @var string
* @ORM\Column(name="codeops", type="string", nullable=true)
*/
public $codeops;
/**
* @var string
* @ORM\Column(name="company_name", type="string", nullable=true)
*/
public $companyName;
/**
* @var string
* @ORM\Column(name="fullname", type="string", nullable=true)
*/
public $fullname;
/**
* @var string
* @ORM\Column(name="email", type="string", nullable=true)
*/
public $email;
/**
* Node constructor.
*/
public function __construct()
{
}
public function toString(): string
{
return (string)$this->id;
}
public function __toString()
{
return (string)$this->id;
}
/**
* @return int
*/
public function getId()
{
return $this->id;
}
public function getWorldfeed()
{
return $this->worldfeed;
}
public function setWorldfeed(?WorldFeed $worldfeed)
{
$this->worldfeed = $worldfeed;
}
public function getCodeops(): ?string
{
return $this->codeops;
}
public function setCodeops(?string $codeops)
{
$this->codeops = $codeops;
}
public function getCompanyName(): ?string
{
return $this->companyName;
}
public function setCompanyName(?string $companyName)
{
$this->companyName = $companyName;
}
public function getFullname(): ?string
{
return $this->fullname;
}
public function setFullname(?string $fullname)
{
$this->fullname = $fullname;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(?string $email)
{
$this->email = $email;
}
}