1
0
mirror of synced 2025-03-25 17:34:00 +03:00

Add audio transcription field

This commit is contained in:
Pavel 2024-09-13 15:22:17 +03:00 committed by GitHub
commit fb0e9404a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -49,6 +49,15 @@ class Item implements ModelInterface
*/
private $caption;
/**
* @var string $transcription
*
* @Type("string")
* @Accessor(getter="getTranscription",setter="setTranscription")
* @SkipWhenEmpty()
*/
private $transcription;
/**
* @return string|null
*/
@ -96,4 +105,20 @@ class Item implements ModelInterface
{
$this->caption = $caption;
}
/**
* @return string|null
*/
public function getTranscription(): ?string
{
return $this->transcription;
}
/**
* @param string $transcription
*/
public function setTranscription(string $transcription): void
{
$this->transcription = $transcription;
}
}