Custom Murphy Bed Bookcase.
Two stand on each side of the bed. The other two shelves can sit in front of the upright bed, veil it from the view, or directly in front of the stationary shelves, allowing the bed to be lowered. With a little search, you can find special Murphy bed hardware that allows for horizontal mounting of a double mattress.

Modern Murphy Bed Bookcase

Murphy Bed Bookcase Design

Murphy Bed Bookcase Idea

Murphy Bed Bookcase Library

Murphy Bed Bookcase Models

Murphy Bed Bookcase Wood

Small Murphy Bed Bookcase

White Murphy Bed Bookcase