adding initial models but mostly boilerplate for the entire implementation

This commit is contained in:
Arjun Patel
2022-01-31 16:21:32 -08:00
parent 2f8b23e664
commit f4eef9c3d0
5 changed files with 76 additions and 6 deletions
+5 -6
View File
@@ -6,12 +6,11 @@ export default class Conversation {
name: string; // engineering, general, arjun and jacob...
createdDate: Timestamp = Timestamp.now()
createdByUserId: string
createdDate: Timestamp = Timestamp.now();
createdByUserId: string;
constructor(name: string createdByUserId: string) {
this.name = name;
this.createdByUserId = createdByUserId
constructor(_name: string, _createdByUserId: string) {
this.name = _name;
this.createdByUserId = _createdByUserId;
}
}