<?php

class User {

    public $id;
    public $name;
    public $username;
    public $password;
    public $email;
    public $access_level; // [Admin -> 1, User -> 2]
    public $created_at;

    public function __construct($id, $name, $username, $password, $email, $access_level) {
        $this->id = $id;
        $this->name = $name;
        $this->username = $username;
        $this->password = $password;
        $this->email = $email;
        $this->access_level = $access_level;
    }
}
?>