bindProperty('id'), (new StringColumn())->bindProperty('body'), (new JoinColumn('post_id', PostTest::class))->bindProperty('post'), ]; } public function getPrimaryKeyValue() : ?int { return $this->getId(); } public function getId(): ?int { return $this->id; } public function getBody(): ?string { return $this->body; } public function setBody(?string $body): CommentTest { $this->body = $body; return $this; } public function getPost(): ?PostTest { return $this->post; } public function setPost(?PostTest $post): CommentTest { $this->post = $post; return $this; } }