My 1971 travel trailer is a different type of structure
It has a fiberglass shell. The floor in it is 3/8" plywood that was bonded to the fiberglass bottom. The shell was then bolted down from the inside of the floor on through the frame.
There was no insulation inside, non-woven material, looked like that thin indoor outdoor carpet was adhered to the walls using contact cement. The cabinets were a combination of stick framed with 3/4 plywood sides at the end of the cabinet run on each side that went from floor to ceiling. Those provided vertical structural support. They were not attached to the walls or the roof. Metal brackets attached it with bolts and nuts going through the laminated floor but it was not secured to the metal frame under the trailer.
It was pretty derelict when I bought it and I needed to rip out the cabinets as well as the wall coverings. As I wanted to insulate it I used thickened epoxy to apply furring strips to the interior walls, then 1/8" plywood panels. That furring strips also gave me a place to secure the new aluminum cabinet framing to the wall as well as to the floor. I need to keep the weight down because I have a 4 cylinder vehicle with a 1,500lb tow rating. Living full time in it means taking along more items that one would have on weekend camping trips.
Still a work in progress, the insulation and paneling is done, cabinet framing is finished. The wiring is in progress, it is all routed inside of the cabinets but protected in channels made for routing wires so that the contents of the cabinet don't snag or chafe the wires. Also done that way so that new wires can easily be added or existing wiring can be modified or even removed.
The framing for the bed is very simple to do. I built a front face frame. It is secured to the walls on each side. The mattress platform rest on 1x1, 1/8" aluminum U channels that were notched at the front to rest onto the front frame and a wood cleat that went against the wall along the back edge. The plywood panels that support the mattress are only 1/4 thick, that is of a sufficient thickness for the purpose. Most people way overbuild using large diameter lumber such as 2x4s and thick plywood. That is of course their choice to do so of course but it does not have to be done that way. My background is in building Boeing aircraft so I know how to build lightweight but also very strong cabinet framing.