src/Entity/UserCommentObjectif.php line 10
<?phpnamespace App\Entity;use App\Repository\UserCommentObjectifRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: UserCommentObjectifRepository::class)]class UserCommentObjectif{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(type: Types::SMALLINT)]private ?int $status = null;#[ORM\Column(type: Types::TEXT)]private ?string $content = null;#[ORM\OneToOne(cascade: ['persist', 'remove'])]private ?User $user = null;public function getId(): ?int{return $this->id;}public function getStatus(): ?int{return $this->status;}public function setStatus(int $status): static{$this->status = $status;return $this;}public function getContent(): ?string{return $this->content;}public function setContent(string $content): static{$this->content = $content;return $this;}public function getUser(): ?User{return $this->user;}public function setUser(?User $user): static{$this->user = $user;return $this;}}