Initial commit as of 2018-10-16
This commit is contained in:
42
application/models/notifications/NotificationUser.php
Normal file
42
application/models/notifications/NotificationUser.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user