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 EXCELLENT
} }
@ManyToOne(fetch = FetchType.LAZY) @ManyToOne
@JoinColumn(name = "subThemeId") @JoinColumn(name = "subThemeId")
private VMChoice subThemeId; private VMChoice subThemeId;
@ManyToOne(fetch = FetchType.LAZY) @ManyToOne
@JoinColumn(name = "authorId") @JoinColumn(name = "authorId")
private User authorId ; private User authorId ;