+
+ /**
+ * @return int
+ */
+ public function getUuid()
+ {
+ return $this->uuid;
+ }
+
+ /**
+ * @param int $uuid
+ *
+ * @return Entry
+ */
+ public function setUuid($uuid)
+ {
+ $this->uuid = $uuid;
+
+ return $this;
+ }
+
+ public function generateUuid()
+ {
+ if (empty($this->uuid) || is_null($this->uuid)) {
+ $this->uuid = uniqid();
+ }
+ }