Update belongs-to-repository.md

This commit is contained in:
Pearl C 2023-01-26 23:00:30 +08:00 committed by GitHub
parent f35bdc522d
commit f8baed5666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,3 @@
## BelongsToRepository
其接口与 [HasOneRepository](./has-one-repository.md) 一致。
`BelongsToRepository` 是用于处理 `BelongsTo` 关系的 `Repository`,它提供了一些便捷的方法来处理 `BelongsTo` 关系。
The interface is the same as [HasOneRepository](./has-one-repository.md). `BelongsToRepository` is the `Repository` for handling `BelongsTo` relationships, and it provides some convenient methods to handle `BelongsTo` relationships.