ErrorRecord.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. use Prettus\Repository\Contracts\Transformable;
  5. use Prettus\Repository\Traits\TransformableTrait;
  6. /**
  7. * Class ErrorRecord.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property string $msg 错误说明
  12. * @property string $data 相关信息
  13. * @property \Illuminate\Support\Carbon|null $created_at
  14. * @property \Illuminate\Support\Carbon|null $updated_at
  15. * @method static \Illuminate\Database\Eloquent\Builder|ErrorRecord newModelQuery()
  16. * @method static \Illuminate\Database\Eloquent\Builder|ErrorRecord newQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|ErrorRecord query()
  18. * @method static \Illuminate\Database\Eloquent\Builder|ErrorRecord whereCreatedAt($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|ErrorRecord whereData($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|ErrorRecord whereId($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|ErrorRecord whereMsg($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|ErrorRecord whereUpdatedAt($value)
  23. * @mixin \Eloquent
  24. * @property int|null $m_id 会员ID
  25. * @method static \Illuminate\Database\Eloquent\Builder|ErrorRecord whereMId($value)
  26. */
  27. class ErrorRecord extends Model implements Transformable
  28. {
  29. use TransformableTrait;
  30. /**
  31. * The attributes that are mass assignable.
  32. *
  33. * @var array
  34. */
  35. protected $guarded = ['id', 'updated_at', 'created_at'];
  36. }