This is a use of aggregate in the original file. The original file data can be viewed by everyone. Now the project is divided into two classes, and all data will be encapsulated. Take the request entity as the aggregate root. That is to put the data which obtained from the website into a new class named getDATA, and the user will no longer be able to view or modify the data.
This is a use of aggregate in the original file. The original file data can be viewed by everyone. Now the project is divided into two classes, and all data will be encapsulated. Take the request entity as the aggregate root. That is to put the data which obtained from the website into a new class named getDATA, and the user will no longer be able to view or modify the data.