<?php
namespace App\Entity;
use App\Entity\Profil\Profil;
use App\Repository\UserRiasecProfileRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=UserRiasecProfileRepository::class)
*/
class UserRiasecProfile
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=User::class, inversedBy="userRiasecProfiles")
*/
private $user;
/**
* @ORM\ManyToOne(targetEntity=Profil::class, inversedBy="userRiasecProfiles")
*/
private $riasecProfile;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $value;
public function getId(): ?int
{
return $this->id;
}
public function getUser(): ?User
{
return $this->user;
}
public function setUser(?User $user): self
{
$this->user = $user;
return $this;
}
public function getRiasecProfile(): ?Profil
{
return $this->riasecProfile;
}
public function setRiasecProfile(?Profil $riasecProfile): self
{
$this->riasecProfile = $riasecProfile;
return $this;
}
public function getValue(): ?float
{
return $this->value;
}
public function setValue(?float $value): self
{
$this->value = $value;
return $this;
}
}