| 123456789101112131415161718192021222324 |
- <?php
- /**
- * 描述.
- *
- * @author nj
- * @date 2021-07-10 17:29
- */
- namespace App\Models\Mongo;
- class UsersModel extends BaseMongo
- {
- /**
- * 集合名字.
- * @var string
- */
- protected $collection = 'users';
- /**
- * 设置mongo时间格式字段
- * @var string[]
- */
- protected $dates = ['created_at'];
- }
|