how to generete loot tables in structures

i just want to ask how to generete loot tables i alredy have the loot table chest working but i want to add the loot table to my structures

Continue to help post