Identifying the domain models
The domain model layer is the initial artifact of the application because it provides the contextual framework of the application. Business processes and transactions can be easily classified and managed if domains are first determined during the initial phase of the development. The code organization created by domain layering can provide code traceability, which can ease source code updates and debugging.
In our ERP specimen, these models are categorized into two: the data and request models. The data models are those used to capture and store data in its temporary data stores, while the request models are the BaseModel
objects used in the API services.
For instance, the faculty module has the following data models:
class Assignment: def __init__(self, assgn_id:int, title:str, date_due:datetime, course:str): self.assgn_id...