X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/6d87d1dbad7e333cd41b57c641515ae05a7653f3..6f3158f30f33264488887f5a0c8e271cb7d17747:/Entity/Slot.php

diff --git a/Entity/Slot.php b/Entity/Slot.php
index c5fcd86..116c29f 100644
--- a/Entity/Slot.php
+++ b/Entity/Slot.php
@@ -47,6 +47,9 @@ class Slot {
 	 * Constructor
 	 */
 	public function __construct() {
+		//Set defaults
+		$this->created = new \DateTime('now');
+		$this->updated = new \DateTime('now');
 		$this->sessions = new ArrayCollection();
 	}