ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
# 定义关联 > 译者:[飞龙](https://github.com/wizardforcel) > 来源:[Defining Associations](https://github.com/dresende/node-orm2/wiki/Defining-Associations) 关联是一个或多个[模型之间](3. Defining Models.md)的关系。 关联的类型: + [hasOne(多对一)](4.1 hasOne.md) + [hasMany(多对多)](4.2 hasMany.md) + [extendsTo(一对一)](4.3 extendsTo.md)