Files
2026-07-14 00:01:48 +03:00

15 lines
367 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class TribunalVote extends Model
{
public $timestamps = false;
protected $fillable = ['tribunal_id', 'user_id', 'side', 'created_at'];
public function tribunal() { return $this->belongsTo(Tribunal::class); }
public function user() { return $this->belongsTo(User::class); }
}