This commit is contained in:
2026-08-31 14:42:22 +08:00
72 changed files with 2479 additions and 168 deletions
@@ -0,0 +1,22 @@
using FluentValidation;
namespace GroupService.WebApi.Controllers.Group
{
public class GroupUpdateRequest
{
public Guid GroupId { get; set; }
public string? GroupName { get; set; }
public string? Avatar { get; set; }
public string? Description { get; set; }
}
public class GroupUpDateRequestValidator : AbstractValidator<GroupUpdateRequest>
{
public GroupUpDateRequestValidator()
{
RuleFor(r => r.GroupId)
.NotNull()
.NotEmpty();
}
}
}