feat: enhance user club feature management with sorting and creation timestamps

This commit is contained in:
masoodafar-web
2025-12-19 00:30:47 +03:30
parent c7211fb9a7
commit 3cb95dc349
13 changed files with 3627 additions and 20 deletions
@@ -4,7 +4,7 @@ public record UpdateUserAddressCommand : IRequest<Unit>
//شناسه
public long Id { get; init; }
//شناسه کاربر
public long UserId { get; init; }
//عنوان
public string Title { get; init; }
//آدرس
@@ -5,8 +5,7 @@ public class UpdateUserAddressCommandValidator : AbstractValidator<UpdateUserAdd
{
RuleFor(model => model.Id)
.NotNull();
RuleFor(model => model.UserId)
.NotNull();
RuleFor(model => model.Title)
.NotEmpty();
RuleFor(model => model.Address)