Omron 24v coil relay

thank you for taking the time to explain all of this, im good with coding side but still very novice in the wiring and diagram. Does the mosfet drain/diode connecting to the other end of the coil act as the neg/common in this situation?