Both games have classes. You can read about them here:
http://divinityoriginalsin.wiki.fextralife.com/Classeshttp://divinityoriginalsin2.wiki.fextralife.com/ClassesIf by 'class-less' you mean you can combine skills from different classes and make hybrid builds, then that's true in both games.
Again, please keep the focus on the OP's topic. Otherwise start a new topic. Thx.