This commit is contained in:
2026-08-31 14:42:22 +08:00
72 changed files with 2479 additions and 168 deletions
+2 -1
View File
@@ -41,7 +41,7 @@ namespace GroupService.Domain.Entities
/// <summary>
/// 群头像
/// </summary>
public string? Avatar { get; private set; } = "https://ts1.tc.mm.bing.net/th/id/OIP-C.XiB9NHwI57WPmotCbXuwawAAAA?rs=1&pid=ImgDetMain&o=7&rm=3";
public string? Avatar { get; private set; }
public long MaxSequenceId { get; private set; } = 0;
public string LastMessage { get; private set; } = string.Empty;
public string LastSenderName { get; private set; } = string.Empty;
@@ -52,6 +52,7 @@ namespace GroupService.Domain.Entities
{
Name = name;
GroupMaster = groupMaster;
Avatar = $"https://api.dicebear.com/7.x/thumbs/svg?seed={Guid.NewGuid()}";
AddDomainEvent(new GroupCreateDomainEvent(this));
}