aboutsummaryrefslogtreecommitdiff
path: root/src/CamilStaps/BotleaguesApi/Game.php
diff options
context:
space:
mode:
authorCamil Staps2015-04-26 23:29:17 +0200
committerCamil Staps2015-04-26 23:29:17 +0200
commit11a20c5be971d97f4a4f575f91b706791c1893a9 (patch)
tree9748c5d865005531c074369ee1611ed8e0fa334a /src/CamilStaps/BotleaguesApi/Game.php
parentuser routes (diff)
Competitions; CompetitionTypes; Participants; better routing; administrators; ...
Diffstat (limited to 'src/CamilStaps/BotleaguesApi/Game.php')
-rw-r--r--src/CamilStaps/BotleaguesApi/Game.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/CamilStaps/BotleaguesApi/Game.php b/src/CamilStaps/BotleaguesApi/Game.php
new file mode 100644
index 0000000..3823ab2
--- /dev/null
+++ b/src/CamilStaps/BotleaguesApi/Game.php
@@ -0,0 +1,11 @@
+<?php
+namespace CamilStaps\BotleaguesApi;
+
+use Illuminate\Database\Eloquent\Model;
+
+class Game extends Model {
+
+ protected $table = 'games';
+ protected $fillable = ['title'];
+
+} \ No newline at end of file