Log.php 458 B

12345678910111213141516171819202122232425
  1. <?php
  2. /*
  3. * This file is part of the Jiannei/lumen-api-starter.
  4. *
  5. * (c) Jiannei <longjian.huang@foxmail.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace App\Repositories\Models;
  11. use Jenssegers\Mongodb\Eloquent\Model;
  12. class Log extends Model
  13. {
  14. protected $connection = 'mongodb';
  15. protected $guarded = [];
  16. protected $dates = [
  17. 'datetime',
  18. ];
  19. }