<?php
namespace App\Entity;
use App\Repository\IctusMobileAppareilRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=IctusMobileAppareilRepository::class)
*/
class IctusMobileAppareil
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="text")
*/
private $cfm_tokem;
/**
* @ORM\ManyToOne(targetEntity=User::class, inversedBy="ictusMobileAppareils")
* @ORM\JoinColumn(nullable=false)
*/
private $user;
public function getId(): ?int
{
return $this->id;
}
public function getCfmTokem(): ?string
{
return $this->cfm_tokem;
}
public function setCfmTokem(string $cfm_tokem): self
{
$this->cfm_tokem = $cfm_tokem;
return $this;
}
public function getUser(): ?User
{
return $this->user;
}
public function setUser(?User $user): self
{
$this->user = $user;
return $this;
}
}