bindProperty('id'), (new AutoIncrementColumn(null, 'invoice.number', 6, 'INV-{YYYY}-'))->bindProperty('number'), (new AutoIncrementColumn(null, 'invoice.code', 8, null))->bindProperty('code'), (new JoinColumn('post_id', PostTest::class))->bindProperty('post'), ]; } public function getPrimaryKeyValue(): ?int { return $this->getId(); } public function getId(): ?int { return $this->id; } public function getNumber(): ?string { return $this->number; } public function setNumber(?string $number): InvoiceTest { $this->number = $number; return $this; } public function getCode(): ?string { return $this->code; } public function setCode(?string $code): InvoiceTest { $this->code = $code; return $this; } }