public static function getLeaves()
    {
        $parents  = static::select('parent_id')->whereNotNull('parent_id')->distinct()->get()->pluck('parent_id')->all();
        return static::wherenotin('id',$parents);
    }