From 5f9024a9608dc2ba5cd6dab541676dc301024afe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Fri, 23 Jul 2021 18:57:47 +0200 Subject: [PATCH] Add short description and rate for tangoargentin export --- Entity/Snippet.php | 54 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/Entity/Snippet.php b/Entity/Snippet.php index f8ae7d2..99bc040 100644 --- a/Entity/Snippet.php +++ b/Entity/Snippet.php @@ -29,6 +29,16 @@ class Snippet { */ protected $class; + /** + * @var string + */ + protected $short; + + /** + * @var integer + */ + protected $rate; + /** * @var string */ @@ -144,6 +154,50 @@ class Snippet { return $this->class; } + /** + * Set short + * + * @param string $short + * + * @return Snippet + */ + public function setShort($short) { + $this->short = $short; + + return $this; + } + + /** + * Get short + * + * @return string + */ + public function getShort() { + return $this->short; + } + + /** + * Set rate + * + * @param string $rate + * + * @return Snippet + */ + public function setRate($rate) { + $this->rate = $rate; + + return $this; + } + + /** + * Get rate + * + * @return string + */ + public function getRate() { + return $this->rate; + } + /** * Set contact * -- 2.41.0