dimanche 30 avril 2017

Two user models in a laravel application

I'm building a SaaS web app in Laravel 5.4 where I will have my clients and the clients will have their own customers. Is it a good idea to have two user models each for clients and their customers or a single user model with roles? In case the client is also a customer of some different client, what happens then?

Any suggestions are welcome.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire