This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/application/Espo/Entities/User.php
T
Yuri Kuznetsov 0ab478d2af acl and other
2013-11-29 13:39:51 +02:00

57 lines
631 B
PHP

<?php
namespace Espo\Entities;
use Doctrine\Common\Collections\ArrayCollection;
/**
* @Entity @Table(name="users")
*/
class User
{
/**
* @var string
*/
protected $id;
/**
* @var string
*/
protected $username;
protected $password;
protected $isAdmin;
public function __construct()
{
}
public function getId()
{
return $this->id;
}
public function getUsername()
{
return $this->username;
}
public function getPassword()
{
return $this->password;
}
public function isAdmin()
{
return $this->isAdmin;
}
public function setName($name)
{
$this->name = $name;
}
}