dev add violation notion
Test Workflow / test (push) Successful in 4s

This commit is contained in:
vladp
2026-03-17 22:40:06 +07:00
parent 921d439e0a
commit 7b58e4979d
@@ -8,7 +8,6 @@ import lombok.Setter;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import ru.soune.nocopy.entity.file.FileEntity;
import ru.soune.nocopy.entity.user.User;
import java.time.LocalDateTime;
@@ -29,11 +28,6 @@ public class ViolationNotion {
@JsonIgnore
private User user;
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "file_id", nullable = false)
@JsonIgnore
private FileEntity file;
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "violation_id", nullable = false)
@JsonIgnore