Skip to content

Commit 0296a9c

Browse files
committed
Roomに新しくプロパティを追加
1 parent 05e4327 commit 0296a9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

chat-iOS/Model/Room.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
//
55
// Created by 戸高新也 on 2020/07/04.
66
//
7+
import Firebase
78

89
struct Room: Codable {
910
let name: String?
1011
let thumbnailImageURL: String?
1112
let members: [String]
1213
let message: String
14+
@DocumentID var id: String?
15+
@ServerTimestamp var updateAt: Timestamp?
1316
}

0 commit comments

Comments
 (0)