42 lines
948 B
PHP
42 lines
948 B
PHP
|
<?php
|
||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||
|
|
||
|
class NotificationUser
|
||
|
{
|
||
|
protected $id;
|
||
|
protected $username;
|
||
|
protected $displayname;
|
||
|
protected $profilePicture;
|
||
|
|
||
|
public function __construct($id, $username, $displayname)
|
||
|
{
|
||
|
$this->id = $id;
|
||
|
$this->username = $username;
|
||
|
$this->displayname = $displayname;
|
||
|
}
|
||
|
|
||
|
public function getId()
|
||
|
{
|
||
|
return $this->id;
|
||
|
}
|
||
|
|
||
|
public function getUsername()
|
||
|
{
|
||
|
return $this->username;
|
||
|
}
|
||
|
|
||
|
public function getName()
|
||
|
{
|
||
|
return $this->displayname;
|
||
|
}
|
||
|
|
||
|
public function getProfilePicture()
|
||
|
{
|
||
|
return $this->profilePicture;
|
||
|
}
|
||
|
|
||
|
public function setProfilePicture($profilePicture)
|
||
|
{
|
||
|
$this->profilePicture = $profilePicture;
|
||
|
}
|
||
|
}
|