When doing layered architecture, I wonder if the different layers have different models, so the models have their own responsibilities.
Sometimes, we maybe want to reuse the models across different layers. According to the SOLID principles, I wonder if it might cause some issues.
For my understanding, It's desirable for having different models for different layers, because it provides isolation. Decouple models, and make them independency, it provides maintainability.
When doing layered architecture, I wonder if the different layers have different models, so the models have their own responsibilities.
Sometimes, we maybe want to reuse the models across different layers. According to the SOLID principles, I wonder if it might cause some issues.
For my understanding, It's desirable for having different models for different layers, because it provides isolation. Decouple models, and make them independency, it provides maintainability.
Refs