mirror of
https://github.com/standardebooks/web.git
synced 2025-07-09 16:20:27 -04:00
Send an email to lapsed patrons
This commit is contained in:
parent
0875e697b4
commit
3fa9592e6d
17 changed files with 185 additions and 42 deletions
17
lib/User.php
17
lib/User.php
|
@ -4,27 +4,12 @@ use Safe\DateTime;
|
|||
|
||||
class User extends PropertiesBase{
|
||||
public $UserId;
|
||||
public $FirstName;
|
||||
public $LastName;
|
||||
protected $Name = null;
|
||||
public $Name;
|
||||
public $Email;
|
||||
public $Created;
|
||||
public $Uuid;
|
||||
|
||||
|
||||
// *******
|
||||
// GETTERS
|
||||
// *******
|
||||
|
||||
protected function GetName(): string{
|
||||
if($this->Name === null){
|
||||
$this->Name = $this->FirstName . ' ' . $this->LastName;
|
||||
}
|
||||
|
||||
return $this->Name;
|
||||
}
|
||||
|
||||
|
||||
// *******
|
||||
// METHODS
|
||||
// *******
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue