Ignore:
Timestamp:
02/04/23 18:48:07 (22 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
6032d44
Parents:
adf250d
Message:

register method

File:
1 edited

Legend:

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

    radf250d r27adfc8  
    4545    }
    4646
     47    public User(String password, String first_name, String last_name, String address, String contact_number, String username) {
     48        this.password = password;
     49        this.first_name = first_name;
     50        this.last_name = last_name;
     51        this.address = address;
     52        this.contact_number = contact_number;
     53        this.username = username;
     54        this.date_created=LocalDate.now();
     55    }
     56
    4757    public User() {
    4858
Note: See TracChangeset for help on using the changeset viewer.