api v2.0
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user