<?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'],
    );

}
