refactoring as told in https://scrutinizer-ci.com/g/CodinPro/data-transfer-object/indices/1949233/duplications/1156662
refactoring as told in https://scrutinizer-ci.com/g/CodinPro/data-transfer-object/indices/1949233/duplications/1156662

CodinPro/data-transfer-object