2026-03-17 16:35:27 +07:00
|
|
|
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;
|
2026-03-17 22:23:19 +07:00
|
|
|
private ViolationInfo violation;
|
2026-03-17 16:35:27 +07:00
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
@Builder
|
|
|
|
|
public static class UserInfo {
|
|
|
|
|
private Long id;
|
|
|
|
|
private String fullName;
|
|
|
|
|
private String email;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
@Builder
|
2026-03-17 22:23:19 +07:00
|
|
|
public static class ViolationInfo {
|
|
|
|
|
private Long id;
|
|
|
|
|
private String url;
|
|
|
|
|
private String host;
|
2026-03-17 16:35:27 +07:00
|
|
|
}
|
|
|
|
|
}
|