File tree Expand file tree Collapse file tree
src/main/java/com/potato/balbambalbam/data/entity Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111@ Getter
1212@ Setter
1313@ NoArgsConstructor
14- public class CustomCard {
14+ public class CustomCard {
1515 @ Id
1616 @ Column (name = "id" )
1717 @ GeneratedValue (strategy = GenerationType .IDENTITY )
Original file line number Diff line number Diff line change 1+ package com .potato .balbambalbam .data .entity ;
2+
3+ import jakarta .persistence .*;
4+ import lombok .Getter ;
5+ import lombok .Setter ;
6+
7+ import java .time .LocalDateTime ;
8+
9+ @ Entity (name = "withdrawal" )
10+ @ Getter
11+ @ Setter
12+ public class Withdrawal {
13+
14+ @ Id
15+ @ Column (name = "id" )
16+ @ GeneratedValue (strategy = GenerationType .IDENTITY )
17+ private long id ;
18+
19+ @ Column (name = "user_id" , nullable = false )
20+ private long userId ;
21+
22+ @ Column (name = "code" , nullable = false )
23+ private int code ;
24+
25+ @ Column (name = "details" )
26+ private String details ;
27+
28+ @ Column (name = "created_at" , nullable = false )
29+ private LocalDateTime createdAt ;
30+ }
Original file line number Diff line number Diff line change 1+ package com .potato .balbambalbam .data .entity ;
2+
3+ import jakarta .persistence .*;
4+ import lombok .Getter ;
5+ import lombok .Setter ;
6+
7+ @ Entity (name = "withdrawal_code" )
8+ @ Getter
9+ @ Setter
10+ public class WithdrawalCode {
11+
12+ @ Id
13+ @ Column (name = "id" )
14+ @ GeneratedValue (strategy = GenerationType .IDENTITY )
15+ private int code ;
16+
17+ @ Column (name = "description" , nullable = false )
18+ private String description ;
19+ }
You can’t perform that action at this time.
0 commit comments