dbfdg hasOne('App\Models\GoalType', 'id', 'goal_type'); } public function branches() { return $this->hasOne('App\Models\Branch', 'id', 'branch'); } public static $status = [ 'Not Started', 'In Progress', 'Completed', ]; }