An enemy's (or companion's) defense applies to each instance of damage that you deal to it, preventing damage equal to the stat. Note that an engage is considered a single instance of damage even if multiple different skills deal damage within the engage. This damage prevention applies even outside of turns.
(If you've played Too Many Bones, enemy Def works in this game more like Hardy than like Thick Skin.)