'datetime', 'password' => 'hashed', 'date_of_birth' => 'date', 'join_date' => 'date', 'is_active' => 'boolean', ]; // ========================================================================= // RELASI ANTAR TABEL (MASTER DATA) // ========================================================================= // Relasi ke tabel departments public function department() { return $this->belongsTo(Department::class, 'department_id'); } // Relasi ke tabel positions public function position() { return $this->belongsTo(Position::class, 'position_id'); } // Jika model TrainingMatrix sudah Anda buat, buka komentar di bawah ini: /* public function trainingMatrix() { return $this->belongsTo(TrainingMatrix::class); } */ }