attributes)) return path_to_url($this->attributes['cover_path']); return ''; } public function admin() { return $this->belongsTo(Admin::class)->select(['id', 'name', 'username']); } }