Skip to content

Commit 10a4a75

Browse files
committed
update model
1 parent bc478f5 commit 10a4a75

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,20 @@ ApplicationContext::getContainer()->get(DataRedis::class);
137137
declare(strict_types=1);
138138

139139
namespace App\Model;
140-
use Guanhui07\SwooleDatabase\Adapter\Model;
140+
141+
use DcrSwoole\DbConnection\Model;
142+
/**
143+
* Class UserModel
144+
* @see https://github.com/illuminate/database
145+
* @property int $id
146+
* @property string $created_at
147+
*/
141148
class UserModel extends Model
142149
{
143150
protected $table = 'user';
144151
}
145152

153+
146154
```
147155

148156
### 控制器validate

0 commit comments

Comments
 (0)