run hinzufügen geht
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
2023-10-30 22:20:13 +01:00
parent 8656fd5d60
commit 1909be5314
8 changed files with 296 additions and 54 deletions

17
web/models/Run.model.php Normal file
View File

@ -0,0 +1,17 @@
<?php
class Run extends Model
{
protected $dbTable = "run";
protected $dbFields = array(
'tournament' => ['type' => 'text', 'required'],
'name' => ['type' => 'text', 'required'],
'category' => ['type' => 'text'],
'length' => ['type' => 'int'], //in meters
'time_standard' => ['type' => 'int'], // in sek
'time_max' => ['type' => 'int'], // in sek
'referee' => ['type' => 'text'],
'photo' => ['type' => 'text'],
);
}