12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Tioncico
- * Date: 2019/10/22 0022
- * Time: 15:08
- */
- namespace EasySwoole\ORM\Tests\models;
- use EasySwoole\ORM\AbstractModel;
- use EasySwoole\Utility\Str;
- /**
- * Class TestUserModel
- * @package EasySwoole\ORM\Tests
- * @property $id
- * @property $name
- * @property $age
- * @property $addTime
- * @property $state
- */
- class TestUserListGetterModel extends AbstractModel
- {
- protected $tableName='user_test_list';
- public function getAddTimeAttr()
- {
- return 123;
- }
- public function setAddTimeAttr()
- {
- return '2019-11-2 23:48:44';
- }
- }
|