aboutsummaryrefslogtreecommitdiff
path: root/src/CamilStaps/BotleaguesApi/Database/Participant.php
diff options
context:
space:
mode:
authorCamil Staps2015-05-14 11:18:12 +0200
committerCamil Staps2015-05-14 11:18:12 +0200
commita012ea9e7d5dd0baadb549e1460a8339224f37a5 (patch)
treea74414754eb8d00d21d92d1ca5be274235ac8e52 /src/CamilStaps/BotleaguesApi/Database/Participant.php
parentPassword reminders start (diff)
Own Model class; new namespaces Database and Controllers; RFC2822 dates
Diffstat (limited to 'src/CamilStaps/BotleaguesApi/Database/Participant.php')
-rw-r--r--src/CamilStaps/BotleaguesApi/Database/Participant.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/CamilStaps/BotleaguesApi/Database/Participant.php b/src/CamilStaps/BotleaguesApi/Database/Participant.php
new file mode 100644
index 0000000..584d00c
--- /dev/null
+++ b/src/CamilStaps/BotleaguesApi/Database/Participant.php
@@ -0,0 +1,10 @@
+<?php
+namespace CamilStaps\BotleaguesApi\Database;
+
+class Participant extends Model {
+
+ protected $table = 'competition_types';
+ protected $hidden = [];
+ protected $fillable = ['botId', 'competitionId'];
+
+} \ No newline at end of file