Define the DTO
Follow the steps to define a DTO.
Context
You want to display the following information of a product:
-
Code
-
Name
-
Description
-
Picture
-
Price (currency and value)
Follow the steps to define a DTO.
You want to display the following information of a product:
Code
Name
Description
Picture
Price (currency and value)