Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The "User" class defines a user of the ticketing software.
- *
- * @author Andrew Stewart <andrew.stewart@itas.ca>
- */
- class User {
- /**
- * A unique number to ID the user
- * @var int
- */
- private int $userId;
- /**
- * The login name of the user
- * @var string
- */
- private string $accountName;
- /**
- * The first name of the user
- * @var string
- */
- private string $firstName;
- /**
- * The last name of the user
- * @var string
- */
- private string $lastName;
- /**
- * TODO - description of description
- * @var string
- */
- private string $description;
- /**
- * The email address of the user
- * @var string
- */
- private string $email;
- /**
- * The phone number of the user
- * @var string
- */
- private string $telephone;
- /**
- * The authorization level of the user
- * @var string
- */
- private int $authLevel;
- /**
- * Object constructor.
- * Instantiates all MediaItem class variables.
- *
- * @param string $accountName
- * @param string $firstName
- * @param string $lastName
- * @param string $description
- * @param string $email
- * @param string $telephone
- * @param int $authLevel
- *
- * @access public
- */
- public function __construct($accountName, $firstName, $lastName, $description, $email, $telephone, $authLevel) {
- $this->accountName = $accountName;
- $this->firstName = $firstName;
- $this->lastName = $lastName;
- $this->description = $description;
- $this->email = $email;
- $this->telephone = $telephone;
- $this->authLevel = $authLevel;
- }
- }
Add Comment
Please, Sign In to add comment