id; } public function getKey(): ?string { return $this->key; } public function setKey(?string $key): PaperKeyValue { $this->key = $key; return $this; } public function getValue() { return $this->value; } public function setValue($value): PaperKeyValue { $this->value = $value; return $this; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(?\DateTimeInterface $createdAt): PaperKeyValue { $this->createdAt = $createdAt; return $this; } public function getUpdatedAt(): ?\DateTimeInterface { return $this->updatedAt; } public function setUpdatedAt(?\DateTimeInterface $updatedAt): PaperKeyValue { $this->updatedAt = $updatedAt; return $this; } static public function getTableName(): string { return 'paper_key_value'; } static public function getRepositoryName(): ?string { return null; } static public function columnsMapping(): array { return [ (new PrimaryKeyColumn())->bindProperty('id'), (new StringColumn('k', 100, false, null, true))->bindProperty('key'), (new AnyColumn('val'))->bindProperty('value'), (new TimestampColumn('created_at', true))->bindProperty('createdAt'), (new TimestampColumn('updated_at', false, true))->bindProperty('updatedAt'), ]; } }