]> Raphaël G. Git Repositories - airbundle/commitdiff
Add short description and rate for tangoargentin export
authorRaphaël Gertz <git@rapsys.eu>
Fri, 23 Jul 2021 16:57:47 +0000 (18:57 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Fri, 23 Jul 2021 16:57:47 +0000 (18:57 +0200)
Entity/Snippet.php

index f8ae7d28fa4d4e124f7e71235101a2a793baf426..99bc040a170e26b1b28dd45dbc16ab1175da9dae 100644 (file)
@@ -29,6 +29,16 @@ class Snippet {
         */
        protected $class;
 
         */
        protected $class;
 
+       /**
+        * @var string
+        */
+       protected $short;
+
+       /**
+        * @var integer
+        */
+       protected $rate;
+
        /**
         * @var string
         */
        /**
         * @var string
         */
@@ -144,6 +154,50 @@ class Snippet {
                return $this->class;
        }
 
                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
         *
        /**
         * Set contact
         *