dev add load and download file for moderatuion user
Test Workflow / test (push) Waiting to run

This commit is contained in:
vladp
2026-04-04 17:38:20 +07:00
parent f4fc1f26a7
commit 724e72c71a
12 changed files with 279 additions and 2 deletions
@@ -59,7 +59,9 @@ public enum MessageCode {
USER_NOT_ACTIVE(2, "User not active"),
NOTION_NOT_FOUND(4, "Notion not found"),
NOT_FOUND(4, "Notion not found"),
MESSAGE_IS_REQUIRED_FOR_NOTION(4, "Message is required for notion");
MESSAGE_IS_REQUIRED_FOR_NOTION(4, "Message is required for notion"),
USER_VERIFICATIONS_NOT_FOUND(4, "Verifications not found"),
ADMIN_USER_NOT_FOUND(4, "Verifications ,user or admin not found");
private final Integer code;
@@ -0,0 +1,12 @@
package ru.soune.nocopy.dto.user.moderation;
import lombok.Data;
@Data
public class UserVerificationRequest {
private String message;
private Long userId;
private Boolean verified;
private Long adminId;
private String action;
}
@@ -0,0 +1,15 @@
package ru.soune.nocopy.dto.user.moderation;
import lombok.Builder;
import lombok.Data;
import java.time.LocalDateTime;
@Data
@Builder
public class UserVerificationResponse {
private Long userVerificationId;
private Long userId;
private LocalDateTime updateTime;
private String moderationStatus;
}