<?php

namespace App\Models;

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

class CombatSkills extends Model
{
    use HasFactory;

    protected $table = 'combat_skills';

    protected $fillable = [
        'personnel_id', 'combat_strength', 'marksmanship', 'tactical_operations',
        'strategic_planning', 'leadership', 'physical_fitness'
    ];

    public function personnel()
    {
        return $this->belongsTo(MilitaryPersonnel::class, 'personnel_id');
    }
}
