<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class LogActivity extends Model
{
    protected $fillable = [
        'user_id',
        'extracuricullar_id',
        'final_score',
        // 'date',
    ];

    // protected $casts = [
    //     'date' => 'datetime',
    // ];

    public function User()
    {
        return $this->belongsTo(User::class);
    }

    public function Extracuricullar() {
        return $this->belongsTo(Extracuricullar::class);
    }
}
