WalletLog.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 WalletLog.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property string $model_name 请求模型
  12. * @property string $send_dta 请求信息
  13. * @property string $reply_dta 应答信息
  14. * @property \Illuminate\Support\Carbon|null $created_at
  15. * @property \Illuminate\Support\Carbon|null $updated_at
  16. * @method static \Illuminate\Database\Eloquent\Builder|WalletLog newModelQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|WalletLog newQuery()
  18. * @method static \Illuminate\Database\Eloquent\Builder|WalletLog query()
  19. * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereCreatedAt($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereId($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereModelName($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereReplyDta($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereSendDta($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereUpdatedAt($value)
  25. * @mixin \Eloquent
  26. * @property int|null $status
  27. * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereStatus($value)
  28. * @property string|null $url
  29. * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereUrl($value)
  30. */
  31. class WalletLog extends Model implements Transformable
  32. {
  33. use TransformableTrait;
  34. /**
  35. * The attributes that are mass assignable.
  36. *
  37. * @var array
  38. */
  39. protected $guarded = ['id', 'updated_at', 'created_at'];
  40. protected $casts = [
  41. 'send_dta' => 'array',
  42. 'reply_dta' => 'array',
  43. ];
  44. }