aboutsummaryrefslogtreecommitdiff
path: root/src/CamilStaps/BotleaguesApi/Participant.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/Participant.php
parentuser routes (diff)
Competitions; CompetitionTypes; Participants; better routing; administrators; ...
Diffstat (limited to 'src/CamilStaps/BotleaguesApi/Participant.php')
-rw-r--r--src/CamilStaps/BotleaguesApi/Participant.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/CamilStaps/BotleaguesApi/Participant.php b/src/CamilStaps/BotleaguesApi/Participant.php
new file mode 100644
index 0000000..65e1261
--- /dev/null
+++ b/src/CamilStaps/BotleaguesApi/Participant.php
@@ -0,0 +1,12 @@
+<?php
+namespace CamilStaps\BotleaguesApi;
+
+use Illuminate\Database\Eloquent\Model;
+
+class Participant extends Model {
+
+ protected $table = 'competition_types';
+ protected $hidden = [];
+ protected $fillable = ['botId', 'competitionId'];
+
+} \ No newline at end of file