Restaurant-Dependent Default Table Status

Hello Strapi Community,

I hope you’re all doing well. I’m currently working on a project where I need to implement a feature that allows me to set the default status for tables based on the restaurant they belong to. Each restaurant may have its own default table status (e.g., “Available,” “Occupied”).

To provide some context, I’ve set up a “Restaurant” content type and a “Table” content type with a one-to-many relationship between them. However, I’m unsure about the best approach to set the default table status based on the associated restaurant.

I’m reaching out to the community to inquire if there are best practices or alternative methods for implementing restaurant-dependent default table statuses in Strapi.

I would greatly appreciate any insights, suggestions, or examples from your experiences in Strapi regarding this specific functionality.

Thank you in advance for your time and assistance!
Best regards, Maxim