1st version that works

This commit is contained in:
2022-03-14 11:53:00 +02:00
parent ee2884b2ff
commit 3806d2c80d
617 changed files with 17293 additions and 4470 deletions

View File

@ -0,0 +1,47 @@
package com.safemobile.lib;
public class User {
public int id;
public String firstname;
public String lastname;
public String login;
public String password;
public int user_type;
public int ison = 0;
public Vehicle vehValue;
public User()
{
this.id = -1;
this.user_type = 1;
}
public User(int id, String firstname, String lastname, String login, String password, int user_type, int ison)
{
this.id = id;
this.firstname = firstname;
this.lastname = lastname;
this.login = login;
this.password = password;
this.user_type = user_type;
this.ison = ison;
this.vehValue =null;
}
public User(int id, String firstname, String lastname, String login, String password, int user_type, int ison,Vehicle _vehValue)
{
this.id = id;
this.firstname = firstname;
this.lastname = lastname;
this.login = login;
this.password = password;
this.user_type = user_type;
this.ison = ison;
vehValue =_vehValue;
}
public String toString()
{
return "id: " + id + " | login: " + login + " | password: " + password + " | user_type: " + user_type;
}
}