Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Created by PhpStorm.
- * User: Tomek
- * Date: 29.08.2018
- * Time: 19:01
- */
- class User
- {
- /**
- * @var int
- */
- private $id;
- /**
- * @var string
- */
- private $email;
- /**
- * @var string
- */
- private $password;
- /**
- * @var string
- */
- private $firstName;
- /**
- * @var string
- */
- private $lastName;
- /**
- * @var int
- */
- private $age;
- /**
- * @var string
- */
- private $avatar;
- /**
- * @return int
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * @param int $id
- */
- public function setId($id)
- {
- $this->id = $id;
- }
- /**
- * @return string
- */
- public function getEmail()
- {
- return $this->email;
- }
- /**
- * @param string $email
- */
- public function setEmail($email)
- {
- $this->email = $email;
- }
- /**
- * @return string
- */
- public function getPassword()
- {
- return $this->password;
- }
- /**
- * @param string $password
- */
- public function setPassword($password)
- {
- $this->password = $password;
- }
- /**
- * @return string
- */
- public function getFirstName()
- {
- return $this->firstName;
- }
- /**
- * @param string $firstName
- */
- public function setFirstName($firstName)
- {
- $this->firstName = $firstName;
- }
- /**
- * @return string
- */
- public function getLastName()
- {
- return $this->lastName;
- }
- /**
- * @param string $lastName
- */
- public function setLastName($lastName)
- {
- $this->lastName = $lastName;
- }
- /**
- * @return int
- */
- public function getAge()
- {
- return $this->age;
- }
- /**
- * @param int $age
- */
- public function setAge($age)
- {
- $this->age = $age;
- }
- /**
- * @return string
- */
- public function getAvatar()
- {
- return $this->avatar;
- }
- /**
- * @param string $avatar
- */
- public function setAvatar($avatar)
- {
- $this->avatar = $avatar;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement