添加项目文件。

This commit is contained in:
2026-05-09 17:06:30 +08:00
parent c60f5fe117
commit 720ef957d4
378 changed files with 14843 additions and 0 deletions
@@ -0,0 +1,45 @@
using GroupService.Domain.Enums;
namespace GroupService.WebApi.Application.Dtos
{
public class GroupResponse
{
public Guid Id { get; private set; }
public string Name { get; private set; }
/// <summary>
/// 群主
/// </summary>
public Guid GroupMaster { get; private set; }
/// <summary>
/// 群权限
/// (0:需管理员同意,1:任意人可加群,2:不允许任何人加入)
/// </summary>
public GroupAuthorityType Authority { get; private set; }
/// <summary>
/// 全员禁言(false允许发言,true全员禁言)
/// </summary>
public bool AllMembersBanned { get; private set; }
/// <summary>
/// 群聊状态
/// (1:正常,2:封禁)
/// </summary>
public GroupState Status { get; private set; }
/// <summary>
/// 群公告
/// </summary>
public string Announcement { get; private set; }
/// <summary>
/// 群头像
/// </summary>
public string? Avatar { get; private set; }
public long MaxSequenceId { get; private set; }
public string LastMessage { get; private set; }
public string LastSenderName { get; private set; }
public DateTimeOffset Created { get; private set; }
public DateTimeOffset Updated { get; private set; }
}
}