This commit is contained in:
andrei-mihnea-cerbu
2024-04-08 00:03:24 +03:00
parent 2ccec617a5
commit b48d5ee19e
168 changed files with 2877 additions and 1146 deletions
+3 -4
View File
@@ -12,13 +12,12 @@ public class Chat
public Guid PatientId { get; set; }
public Guid DoctorId { get; set; }
public List<Message> Messages { get; set; } = new List<Message>();
public List<Message> Messages { get; set; } = new();
}
public class Message
{
[BsonRepresentation(BsonType.String)]
public Guid UserId { get; set; }
[BsonRepresentation(BsonType.String)] public Guid UserId { get; set; }
public string Content { get; set; }
}
}