Files
marmeladenladen/models/user.class.php
2022-04-29 16:49:07 +02:00

33 lines
967 B
PHP

<?php
class User {
//public $user_id;
public $username;
public $password;
public $email;
public $firstname;
public $lastname;
public $role;
//public $created_at;
public $street;
public $streetnumber;
public $postalcode;
public $country;
public $phone;
public $salutation;
public function __construct($username, $password, $email, $phone, $salutation, $firstname, $lastname, $role, $street, $streetnumber, $postalcode, $country) {
//$this->user_id = $user_id;
$this->username = $username;
$this->password = $password;
$this->email=$email;
$this->phone=$phone;
$this->salutation=$salutation;
$this->firstname = $firstname;
$this->lastname = $lastname;
$this->role = $role;
$this->street = $street;
$this->streetnumber = $streetnumber;
$this->postalcode = $postalcode;
$this->country = $country;
}
}