Skip to content

Commit

Permalink
Update UserSettings.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Nonononoki committed Mar 9, 2024
1 parent 43ac6b4 commit 582889d
Showing 1 changed file with 2 additions and 0 deletions.
@@ -1,5 +1,6 @@
package com.nonononoki.alovoa.entity.user;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.nonononoki.alovoa.entity.User;
import jakarta.persistence.*;
import lombok.EqualsAndHashCode;
Expand All @@ -18,6 +19,7 @@ public class UserSettings {
@GeneratedValue(strategy= GenerationType.IDENTITY)
private Long id;

@JsonIgnore
@OneToOne
private User user;

Expand Down

0 comments on commit 582889d

Please sign in to comment.