aboutsummaryrefslogtreecommitdiff
path: root/src/CamilStaps/BotleaguesApi/Database/Competition.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/CamilStaps/BotleaguesApi/Database/Competition.php')
-rw-r--r--src/CamilStaps/BotleaguesApi/Database/Competition.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/CamilStaps/BotleaguesApi/Database/Competition.php b/src/CamilStaps/BotleaguesApi/Database/Competition.php
new file mode 100644
index 0000000..c355c08
--- /dev/null
+++ b/src/CamilStaps/BotleaguesApi/Database/Competition.php
@@ -0,0 +1,10 @@
+<?php
+namespace CamilStaps\BotleaguesApi\Database;
+
+class Competition extends Model {
+
+ protected $table = 'competitions';
+ protected $hidden = [];
+ protected $fillable = ['gameId', 'title', 'description', 'competition_type', 'start', 'end', 'max_players'];
+
+} \ No newline at end of file