Cabinets with compartments provided with trays revolving on a horizontal axis