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; } }