Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace DUT\Models;
- class User
- {
- protected $username;
- protected $name;
- protected $lastName;
- protected $password;
- protected $mail;
- protected $privileges;
- public function __construct($username, $name, $lastName, $password, $mail, $privileges){
- $this->username = $username;
- $this->name = $name;
- $this->lastName = $lastName;
- $this->password = $password;
- $this->mail = $mail;
- $this->privileges = $privileges;
- }
- public function get_username(){
- return $this->username;
- }
- public function get_name(){
- return $this->name;
- }
- public function get_lastName(){
- return $this->lastName;
- }
- public function get_password(){
- return $this->password;
- }
- public function get_mail(){
- return $this->mail;
- }
- public function get_privileges(){
- return $this->privileges;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement