'integer', 'student_id' => 'integer', 'school_id' => 'integer', 'enrolled' => 'boolean', ]; /* Optional relationships */ public function invoice() { return $this->belongsTo(Invoice::class, 'invoice_id'); } public function student() { return $this->belongsTo(Student::class, 'student_id'); } }