@@ -68,4 +68,10 @@ public class FileEntityRequest {
|
||||
|
||||
@JsonProperty("approve")
|
||||
private Boolean approve;
|
||||
|
||||
@JsonProperty("reason_text")
|
||||
private String reasonText;
|
||||
|
||||
@JsonProperty("reason_text")
|
||||
private String searchQuery;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
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