-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUser.java
More file actions
49 lines (39 loc) · 862 Bytes
/
User.java
File metadata and controls
49 lines (39 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.getdata.restcall_test1.Entity;
import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.util.ArrayList;
import java.util.List;
@Entity
@Table(name = "Users")
@NoArgsConstructor
@AllArgsConstructor
public class User {
@Getter
@Setter
@Id
@Column(name = "UserID")
private String UserID;
@Getter
@Setter
@Column(name = "Username", unique = true)
private String username;
@Getter
@Setter
@Column(name = "PW")
private String PW;
@Getter
@Setter
@Column(name = "FullName")
private String FullName;
@Getter
@Setter
@Column(name = "EmailAddress")
private String EmailAddress;
@Getter
@Setter
@Column(name = "HomeAddress")
private String HomeAddress;
}