In the OODM, an object contains both data and their relationships. Meanwhile, a class is a group of objects that share similar objects with shared structure (attributes) and behavior (methods).
ใน oodm ที่วัตถุที่มีทั้งข้อมูลและความสัมพันธ์ของพวกเขา ในขณะที่ Class A คือกลุ่มของวัตถุที่ใช้วัตถุคล้ายคลึงกันพร้อมด้วยโครงสร้างใช้ร่วมกัน(แอททริบิว)และพฤติกรรม(วิธีการ)