Regler problème auteur sur vote majoritaire

This commit is contained in:
Arimihanta 2021-07-14 12:59:23 +03:00
parent cf439ba51c
commit dc5ee5af8d

View file

@ -27,11 +27,11 @@ public class VMVote extends AbstractEntity implements Serializable {
EXCELLENT
}
@ManyToOne(fetch = FetchType.LAZY)
@ManyToOne
@JoinColumn(name = "subThemeId")
private VMChoice subThemeId;
@ManyToOne(fetch = FetchType.LAZY)
@ManyToOne
@JoinColumn(name = "authorId")
private User authorId ;