X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/98544db2e8f7e804efce8efabffc7e62b4c09b02..42d2646c377a92fd92d37e09ef6b733fa9b50946:/Entity/Snippet.php diff --git a/Entity/Snippet.php b/Entity/Snippet.php new file mode 100644 index 0000000..2aa9d3b --- /dev/null +++ b/Entity/Snippet.php @@ -0,0 +1,175 @@ +id; + } + + /** + * Set locale + * + * @param string $locale + * + * @return Snippet + */ + public function setLocale($locale) { + $this->locale = $locale; + + return $this; + } + + /** + * Get locale + * + * @return string + */ + public function getLocale() { + return $this->locale; + } + + /** + * Set description + * + * @param string $description + * + * @return Snippet + */ + public function setDescription($description) { + $this->description = $description; + + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() { + return $this->description; + } + + /** + * Set created + * + * @param \DateTime $created + * + * @return User + */ + public function setCreated($created) { + $this->created = $created; + + return $this; + } + + /** + * Get created + * + * @return \DateTime + */ + public function getCreated() { + return $this->created; + } + + /** + * Set updated + * + * @param \DateTime $updated + * + * @return User + */ + public function setUpdated($updated) { + $this->updated = $updated; + + return $this; + } + + /** + * Get updated + * + * @return \DateTime + */ + public function getUpdated() { + return $this->updated; + } + + /** + * Set location + */ + public function setLocation(Location $location) { + $this->location = $location; + + return $this; + } + + /** + * Get location + */ + public function getLocation() { + return $this->location; + } + + /** + * Set user + */ + public function setUser(User $user) { + $this->user = $user; + + return $this; + } + + /** + * Get user + */ + public function getUser() { + return $this->user; + } +}