Changeset feffc2f for src/main/java/com/example/autopartz/model/User.java
- Timestamp:
- 01/03/23 19:29:20 (23 months ago)
- Branches:
- main
- Children:
- 60de3eb
- Parents:
- eaf0f1b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/model/User.java
reaf0f1b rfeffc2f 21 21 String email; 22 22 String name_user; 23 String password_user; 23 @Column(name = "password_user") 24 String password; 24 25 LocalDateTime user_created_on; 25 26 String phone_number; … … 27 28 @JoinColumn(name = "id_administrator") 28 29 Administrator administrator; 30 31 public User(String username, String name, String email, String password, String number) { 32 this.username = username; 33 this.name_user = name; 34 this.email = email; 35 this.password = password; 36 this.phone_number = number; 37 this.user_created_on = LocalDateTime.now(); 38 } 29 39 30 40 @Override
Note:
See TracChangeset
for help on using the changeset viewer.