<?phpnamespace App\Entity;use App\Repository\UserLibraryRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=UserLibraryRepository::class) */class UserLibrary{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="integer") */ private $user_id; /** * @ORM\Column(type="integer") */ private $core_subject_id; /** * @ORM\Column(type="integer") */ private $core_library_id; /** * @ORM\Column(type="string", length=255) */ private $name; /** * @ORM\Column(type="text") */ private $description; /** * @ORM\Column(type="datetime") */ private $created_date; public function getId(): ?int { return $this->id; } public function getUserId(): ?int { return $this->user_id; } public function setUserId(int $user_id): self { $this->user_id = $user_id; return $this; } public function getCoreLibraryId(): ?int { return $this->core_library_id; } public function setCoreLibraryId(int $core_library_id): self { $this->core_library_id = $core_library_id; return $this; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getCreatedDate(): ?\DateTimeInterface { return $this->created_date; } public function setCreatedDate(\DateTimeInterface $created_date): self { $this->created_date = $created_date; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(string $description): self { $this->description = $description; return $this; } public function getCoreSubjectId(): ?int { return $this->core_subject_id; } public function setCoreSubjectId(int $core_subject_id): self { $this->core_subject_id = $core_subject_id; return $this; }}