'integer', 'rule_set_id' => 'integer', 'preliminary_evaluation_run_id' => 'integer', 'official_evaluation_run_id' => 'integer', 'test_evaluation_run_id' => 'integer', 'name' => 'array', 'description' => 'array', 'is_active' => 'boolean', 'is_test' => 'boolean', 'is_sixhr' => 'boolean', 'start_time' => 'datetime', 'end_time' => 'datetime', 'logs_deadline' => 'datetime', 'first_check' => 'datetime', 'second_check' => 'datetime', 'unique_qso_check' => 'datetime', 'third_check' => 'datetime', 'fourth_check' => 'datetime', 'prelimitary_results'=> 'datetime', ]; public function contest(): BelongsTo { return $this->belongsTo(Contest::class); } public function ruleSet(): BelongsTo { return $this->belongsTo(EvaluationRuleSet::class, 'rule_set_id'); } public function bands(): BelongsToMany { return $this->belongsToMany(Band::class, 'rounds_bands', 'round_id', 'band_id'); } public function categories(): BelongsToMany { return $this->belongsToMany(Category::class, 'rounds_categories', 'round_id', 'category_id'); } public function powerCategories(): BelongsToMany { return $this->belongsToMany(PowerCategory::class, 'rounds_power_categories', 'round_id', 'power_category_id'); } }