diff --git a/src/Entity/Assignment.php b/src/Entity/Assignment.php new file mode 100644 index 0000000..b13ad54 --- /dev/null +++ b/src/Entity/Assignment.php @@ -0,0 +1,25 @@ +id; + } +} diff --git a/src/Entity/EmployeeSkill.php b/src/Entity/EmployeeSkill.php new file mode 100644 index 0000000..887eb6f --- /dev/null +++ b/src/Entity/EmployeeSkill.php @@ -0,0 +1,19 @@ +count; + } + + public function setCount(?int $count): void + { + $this->count = $count; + } + + #[ORM\Column] + private ?\DateTime $date = null; + + public function getDate(): ?\DateTime + { + return $this->date; + } + + public function setDate(?\DateTime $date): void + { + $this->date = $date; + } +} diff --git a/src/Entity/Requirements.php b/src/Entity/Requirement.php similarity index 90% rename from src/Entity/Requirements.php rename to src/Entity/Requirement.php index f2519f8..a69c4a5 100644 --- a/src/Entity/Requirements.php +++ b/src/Entity/Requirement.php @@ -2,10 +2,10 @@ namespace App\Entity; -use App\Repository\RequirementsRepository; + use Doctrine\ORM\Mapping as ORM; - +#[ORM\Table(name: 'Requirements')] class Requirements { #[ORM\Id]