One model and many tables

hi there,

I have a legacy application where customers have tables like

foo_<customer_id>
bar_<customer_id>

is there a way to create a model that will be able to work
with these tables, they all have the same structure

best,

–Alex