<?phpnamespace App\Entity;use App\Repository\FlaggingRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=FlaggingRepository::class) */class Flagging{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="smallint") */ private $fid; /** * @ORM\Column(type="string", length=255) */ private $entityType; /** * @ORM\Column(type="integer") */ private $entityId; /** * @ORM\Column(type="integer") */ private $uid; /** * @ORM\Column(type="integer") */ private $sid; /** * @ORM\Column(type="datetime") */ private $created; public function getId(): ?int { return $this->id; } public function getFid(): ?int { return $this->fid; } public function setFid(int $fid): self { $this->fid = $fid; return $this; } public function getEntityType(): ?string { return $this->entityType; } public function setEntityType(string $entityType): self { $this->entityType = $entityType; return $this; } public function getEntityId(): ?int { return $this->entityId; } public function setEntityId(int $entityId): self { $this->entityId = $entityId; return $this; } public function getUid(): ?int { return $this->uid; } public function setUid(int $uid): self { $this->uid = $uid; return $this; } public function getSid(): ?int { return $this->sid; } public function setSid(int $sid): self { $this->sid = $sid; return $this; } public function getCreated(): ?\DateTimeInterface { return $this->created; } public function setCreated(\DateTimeInterface $created): self { $this->created = $created; return $this; }}