Skip to content

Commit

Permalink
Roomに新しくプロパティを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
geekshu625 committed Jul 22, 2020
1 parent 05e4327 commit 0296a9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chat-iOS/Model/Room.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
//
// Created by 戸高新也 on 2020/07/04.
//
import Firebase

struct Room: Codable {
let name: String?
let thumbnailImageURL: String?
let members: [String]
let message: String
@DocumentID var id: String?
@ServerTimestamp var updateAt: Timestamp?
}

0 comments on commit 0296a9c

Please sign in to comment.