Application of Software Engineering code design patterns 2
Proposed Changes
Changed the code design for the covid_api_v2_model and added a structural design pattern which is the the composite design pattern to avoid repetition of code
Addtional Info
For composite pattern I removed unnecessary code again from the composite classes and referenced it through other objects which are composed inside the composite classes
Related Issue:
Application of Software Engineering code design patterns 2
Proposed Changes
Changed the code design for the covid_api_v2_model and added a structural design pattern which is the the composite design pattern to avoid repetition of code
Addtional Info
For composite pattern I removed unnecessary code again from the composite classes and referenced it through other objects which are composed inside the composite classes
Checklist
Screenshots