Добавил класс для представления сообщения

This commit is contained in:
2026-08-29 00:27:48 +03:00
parent a40fcca7be
commit 4d36c5242f
5 changed files with 32 additions and 17 deletions
+8
View File
@@ -0,0 +1,8 @@
namespace AMessanger.Models
{
public class Message(string userName, string content)
{
public string UserName { get; set; } = userName;
public string Content { get; set; } = content;
}
}