35 lines
607 B
PHP
35 lines
607 B
PHP
<?php
|
|
|
|
namespace lib\Entities;
|
|
|
|
use lib\Core\Entity;
|
|
|
|
class MemberEntity extends Entity
|
|
{
|
|
public function __construct($datas)
|
|
{
|
|
parent::__construct($datas);
|
|
} //
|
|
public function getTitle(): string
|
|
{
|
|
return $this->getName();
|
|
}
|
|
//공통부분
|
|
public function getId(): string
|
|
{
|
|
return $this->id;
|
|
}
|
|
public function getPassword(): string
|
|
{
|
|
return $this->pass;
|
|
}
|
|
public function getName(): string
|
|
{
|
|
return $this->name;
|
|
}
|
|
public function getRole(): string
|
|
{
|
|
return $this->role;
|
|
}
|
|
} //Class
|