@@ -51,9 +51,6 @@ public class FileEntityRequest {
|
||||
@JsonProperty("date_filter")
|
||||
private String dateFilter;
|
||||
|
||||
@JsonProperty("moderation_reason_id")
|
||||
private Long moderationReasonId;
|
||||
|
||||
@JsonProperty("comment")
|
||||
private String comment;
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ public class FileModerationInfo {
|
||||
private String ownerEmail;
|
||||
private FileStatus currentStatus;
|
||||
private LocalDateTime uploadDate;
|
||||
private String moderationReason;
|
||||
private Boolean hasActiveAppeal;
|
||||
private AppealInfo activeAppeal;
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@ import ru.soune.nocopy.entity.file.FileStatus;
|
||||
public class ModerationActionRequest {
|
||||
private String fileId;
|
||||
private FileStatus newStatus;
|
||||
private Long moderationReasonId;
|
||||
private String comment;
|
||||
private String token;
|
||||
}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
package ru.soune.nocopy.dto.file;
|
||||
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
public class ModerationReasonRequest {
|
||||
private String action;
|
||||
private String token;
|
||||
private Long reasonId;
|
||||
private String reasonText;
|
||||
private Integer page;
|
||||
private Integer pageSize;
|
||||
private String searchQuery;
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
package ru.soune.nocopy.dto.file;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
public class ModerationReasonResponse {
|
||||
private Long id;
|
||||
private String reasonText;
|
||||
private LocalDateTime createdAt;
|
||||
private LocalDateTime updatedAt;
|
||||
private Boolean isUsed;
|
||||
private Long usageCount;
|
||||
}
|
||||
Reference in New Issue
Block a user