LogStarERP interview question

How class is defined? Basic join