@@ -0,0 +1,30 @@
|
||||
package ru.soune.nocopy.dto.violation;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
public class ViolationNotionResponse {
|
||||
private Long id;
|
||||
private String message;
|
||||
private LocalDateTime createdAt;
|
||||
private LocalDateTime updatedAt;
|
||||
private UserInfo user;
|
||||
private FileInfo file;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
public static class UserInfo {
|
||||
private Long id;
|
||||
private String fullName;
|
||||
private String email;
|
||||
}
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
public static class FileInfo {
|
||||
private String id;
|
||||
private String originalFileName;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user