I have a DTO with 30 attributes, some attributes would be added to it. Many other classes use this DTO, some classes use 10 to 20 attributes, some other class uses all 30 attributes.
In one class, can I create a DTO which uses 10 attributes and rest 20 attributes will be null?
In this scenario, is it a good approach to split DTO into 2-3 DTOs by inheritance or some other way?