src/Entity/Scholar/Competence.php line 16
<?php
namespace App\Entity\Scholar;
use App\Entity\Traits\UserCreatedInterface;
use App\Entity\Traits\UserUpdatedInterface;
use Doctrine\ORM\Mapping as ORM;
/**
* Class Competence
* @package App\Entity\Scholar
*/
#[ORM\Table(name: 'scholar_competence')]
#[ORM\Entity(repositoryClass: 'App\Repository\Scholar\CompetenceRepository')]
#[ORM\HasLifecycleCallbacks]
class Competence implements UserCreatedInterface, UserUpdatedInterface
{
use \App\Entity\Traits\TrackerFields;
use \App\Entity\Traits\ActiveTrait;
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'AUTO')]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string')]
private $caption;
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
/**
* @param mixed $id
*/
public function setId($id): void
{
$this->id = $id;
}
/**
* @return mixed
*/
public function getCaption()
{
return $this->caption;
}
/**
* @param mixed $caption
*/
public function setCaption($caption): void
{
$this->caption = $caption;
}
}