In one of my projects, I have two \"data transfer objects\" RecordType1 and RecordType2 that inherit from an abstract class of RecordType.
I want both RecordType obj
It is against open-closed principle of SOLID