Ignore:
Timestamp:
01/03/23 19:29:20 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
60de3eb
Parents:
eaf0f1b
Message:

Added some views and functionalities

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/autopartz/model/User.java

    reaf0f1b rfeffc2f  
    2121    String email;
    2222    String name_user;
    23     String password_user;
     23    @Column(name = "password_user")
     24    String password;
    2425    LocalDateTime user_created_on;
    2526    String phone_number;
     
    2728    @JoinColumn(name = "id_administrator")
    2829    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    }
    2939
    3040    @Override
Note: See TracChangeset for help on using the changeset viewer.