I'm working in legal web app using Laravel 5, and I have 11 classes 'models' and they are working fine.
In the real world there are lawyers working in different offices, each office had one admin can create or open cases or 'lawsuits' for litigants, and the lawyers follow and update those cases in the courts or when they back to offices.
the problem that I was confuse how to sort them in my route and sub-routes ..
How do I have to sort them starting from the lawsuits, litigants or lawyers ?
A)
- offices -> lawyers -> lawsuits -> sessions -> judgments
- offices -> lawyers -> lawsuits -> litigants
- offices -> meetings
- articles
- courts
- judges
- users
B)
- offices -> lawsuits -> sessions -> judgments
- offices -> lawsuits -> litigants
- offices -> lawsuits -> lawyers
- offices -> meetings
- articles
- courts
- judges
- users
C)
- offices -> litigants -> lawsuits -> sessions -> judgments
- offices -> litigants -> lawsuits -> lawyers
- offices -> meetings
- articles
- courts
- judges
- users
or I have to create them all? or something else I don't know about ? is there "right way" to sort it?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire