Add Item transcription
This commit is contained in:
parent
4b6e9e0dff
commit
5da993d598
@ -49,6 +49,15 @@ class Item implements ModelInterface
|
|||||||
*/
|
*/
|
||||||
private $caption;
|
private $caption;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string $transcription
|
||||||
|
*
|
||||||
|
* @Type("string")
|
||||||
|
* @Accessor(getter="getTranscription",setter="setTranscription")
|
||||||
|
* @SkipWhenEmpty()
|
||||||
|
*/
|
||||||
|
private $transcription;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string|null
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
@ -96,4 +105,20 @@ class Item implements ModelInterface
|
|||||||
{
|
{
|
||||||
$this->caption = $caption;
|
$this->caption = $caption;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string|null
|
||||||
|
*/
|
||||||
|
public function getTranscription()
|
||||||
|
{
|
||||||
|
return $this->transcription;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $transcription
|
||||||
|
*/
|
||||||
|
public function setTranscription(string $transcription)
|
||||||
|
{
|
||||||
|
$this->transcription = $transcription;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user