Browse Source

User : champs lastLogin

develop
Guillaume 2 years ago
parent
commit
f8e6f69103
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      Model/User/UserModel.php

+ 15
- 0
Model/User/UserModel.php View File

*/ */
protected $ticketTypesNotification = []; protected $ticketTypesNotification = [];


/**
* @ORM\Column(type="datetime", nullable=true)
*/
protected $lastLogin;

public function __construct() public function __construct()
{ {
$this->tickets = new ArrayCollection(); $this->tickets = new ArrayCollection();
return $this; return $this;
} }


public function getLastLogin()
{
return $this->lastLogin;
}


public function setLastLogin(\DateTime $time = null)
{
$this->lastLogin = $time;

return $this;
}
} }

Loading…
Cancel
Save