WebServ/www/public/M4/03/User.php

29 lines
536 B
PHP
Raw Permalink Normal View History

2024-09-13 12:56:16 +00:00
<?php
class User
{
private $username;
private $password;
public function __construct($username, $password)
{
$this->username = $username;
$this->password = $password;
}
public function getUsername() {
return $this->username;
}
public function getPassword() {
return $this->password;
}
public function setUsername($username) {
$this->username = $username;
}
public function setPassword($password) {
$this->password = $password;
}
}