Skip to content

Commit

Permalink
refactor: Changed name to EventForm
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-merlin committed Mar 4, 2024
1 parent 5fcc531 commit cac8263
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ public class Event {
private LocalDateTime date;

@OneToMany(mappedBy = "event", cascade = CascadeType.ALL, orphanRemoval = true)
private List<Form> satisfactionForms;
private List<EventForm> satisfactionForms;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.sitblueprint.admin.model.events;

import com.sitblueprint.admin.model.events.Event;
import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
Expand All @@ -12,7 +11,7 @@
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Form {
public class EventForm {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long id;
Expand Down

0 comments on commit cac8263

Please sign in to comment.