Toddler/child bed guard, sturdy (Greaves LA1)

I looking for something to stop the dog jumping on me after surgery, so a stronger construction is preferable! Many thanks.