File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
src/main/java/com/activecourses/upwork/model Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 1
1
package com .activecourses .upwork .model ;
2
2
3
3
import jakarta .persistence .*;
4
- import lombok .AllArgsConstructor ;
5
- import lombok .Builder ;
6
- import lombok .Data ;
7
- import lombok .NoArgsConstructor ;
4
+ import lombok .*;
8
5
9
6
import java .time .Instant ;
10
7
@@ -26,6 +23,7 @@ public class RefreshToken {
26
23
@ Column (nullable = false )
27
24
private Instant expiryDate ;
28
25
26
+ @ ToString .Exclude
29
27
@ OneToOne
30
28
@ JoinColumn (name = "user_id" , unique = true )
31
29
private User user ;
Original file line number Diff line number Diff line change 1
1
package com .activecourses .upwork .model ;
2
2
3
3
import jakarta .persistence .*;
4
- import lombok .AllArgsConstructor ;
5
- import lombok .Builder ;
6
- import lombok .Data ;
7
- import lombok .NoArgsConstructor ;
4
+ import lombok .*;
8
5
import org .springframework .data .jpa .domain .support .AuditingEntityListener ;
9
6
10
7
import java .math .BigDecimal ;
@@ -28,9 +25,9 @@ public class UserProfile {
28
25
@ Column (precision = 19 , scale = 2 ) // Example precision and scale
29
26
private BigDecimal hourlyRate ;
30
27
31
-
32
28
private String location ;
33
29
30
+ @ ToString .Exclude
34
31
@ OneToOne (cascade = CascadeType .ALL )
35
32
@ JoinColumn (name = "user_id" , unique = true )
36
33
private User user ;
You can’t perform that action at this time.
0 commit comments