Yes, it is mandatory to mention family members' details if your family members need to join you as a student on a later date. If you do not declare a family member and they need to join later then you need to apply for a new student visa including them.