12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- class Admin extends \Entity
- {
-
- public static function repository(){
- return \Entity\Repository\AdminRepository::instance();
- }
-
- public static function create(){
- return new self();
- }
-
- protected $id;
-
- protected $user_id;
-
- public function get_id()
- {
- return $this->id;
- }
-
- public function set_user_id($value)
- {
- $this->user_id = $value;
- return $this;
- }
-
- public function get_user_id()
- {
- return $this->user_id;
- }
- }
|