<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Department extends Model
{
    protected $fillable = ['name', 'code', 'description', 'manager_user_id', 'status'];
    public function employees(){ return $this->hasMany(User::class); }
    public function manager(){ return $this->belongsTo(User::class, 'manager_user_id'); }
}
