I have some endpoints, that have their DTOs. Nowadays, the DTO's names are becoming awful. For example, the service: order/item/ean Our main response file, was named: OrderItemEanResponseVo. All subclasses received the prefix OrderItemEan either.
But, for example, we have an entity OrderItem inside of it. Its name is: OrderItemEanOrderItemVo.
Yes, its terrible.
Do you know any pattern to name DTOs?
Aucun commentaire:
Enregistrer un commentaire