2023-10-11 14:23:38 +08:00
|
|
|
using Katheryne.Abstractions;
|
|
|
|
|
2023-10-11 11:54:28 +08:00
|
|
|
namespace Frontend.Models;
|
|
|
|
|
|
|
|
public class Chat
|
|
|
|
{
|
|
|
|
public Guid Guid { get; } = Guid.NewGuid();
|
2023-10-11 14:23:38 +08:00
|
|
|
|
|
|
|
public required IChatRobot Robot { get; init; }
|
2023-10-11 11:54:28 +08:00
|
|
|
|
|
|
|
public string Title { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
public bool Selected { get; set; }
|
|
|
|
|
|
|
|
public List<ChatMessage> Messages { get; } = new();
|
|
|
|
}
|