'string', ]; // Relationship with Permohonan public function permohonan() { return $this->belongsTo(Permohonan::class, 'permohonan_id'); } public function user(){ return $this->belongsTo(User::class, 'created_by'); } public function authorizedUser(){ return $this->belongsTo(User::class, 'authorized_by'); } }