MaxAB Interview Question

about SOLID principles + data modeling and one problem solving question