Ignore:
Timestamp:
02/04/23 19:01:47 (22 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
e097c1c
Parents:
27adfc8
Message:

login method

Location:
src/main/java/com/example/moviezone/model
Files:
2 edited

Legend:

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

    r27adfc8 r6032d44  
    2525    Integer points;
    2626
    27 //    public Customer(String password, String first_name, String last_name, String address, String contact_number, String username) {
    28 //        super(password, first_name, last_name, address, contact_number, username);
    29 //    }
     27    public Customer(String password, String first_name, String last_name, String address, String contact_number, String username) {
     28        super(password, first_name, last_name, address, contact_number, username);
     29    }
     30
     31    public Customer() {
     32
     33    }
    3034
    3135    @Override
  • src/main/java/com/example/moviezone/model/Worker.java

    r27adfc8 r6032d44  
    2828    Cinema cinema;
    2929
    30 //    public Worker(String password, String first_name, String last_name, String address, String contact_number, String username) {
    31 //        super(password, first_name, last_name, address, contact_number, username);
    32 //    }
     30    public Worker(String password, String first_name, String last_name, String address, String contact_number, String username) {
     31        super(password, first_name, last_name, address, contact_number, username);
     32    }
     33
     34    public Worker() {
     35
     36    }
    3337
    3438    @Override
Note: See TracChangeset for help on using the changeset viewer.