我有一个Cloud Firestore音乐数据库:
ROOT
|
+-- shops {collection}
|
+-- shopId {document}
|
+-- shopName: "Awesome Shop"
|
+-- dvds {dvd object}
|
+-- dvdIdOne {object}
| |
| +-- name: "Led Zeppelin: Live in Seattle 1977"
|
+-- dvdIdTwo {object}
|
+-- name: "Queen: Live at AID 1985"
如果我获得整个shopId
文档,是否可以将dvds
对象作为List<DvdObject>
获得? dvds
对象可以映射到自定义对象列表吗?