RiskListModel.php 733 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\RiskListModel
  6. *
  7. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RiskListModel newModelQuery()
  8. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RiskListModel newQuery()
  9. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RiskListModel query()
  10. * @mixin \Eloquent
  11. */
  12. class RiskListModel extends Model
  13. {
  14. //
  15. protected $table = 'fpdx_risklists';
  16. protected $dateFormat = 'U';
  17. protected $casts = [
  18. 'create_at' => 'timestamp',
  19. 'updated_at' => 'timestamp',
  20. 'end_at' => 'timestamp',
  21. ];
  22. protected $fillable = ['uid', 'phone', 'weixin', 'qq'];
  23. }