ThirdGameRecycle.php 795 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace App\Models;
  3. class ThirdGameRecycle extends BaseModel
  4. {
  5. public const STATUS_PENDING = 'pending';
  6. public const STATUS_PROVIDER_SUCCEEDED = 'provider_succeeded';
  7. public const STATUS_COMPLETED = 'completed';
  8. public const STATUS_FAILED = 'failed';
  9. public const STATUS_UNCERTAIN = 'uncertain';
  10. protected $table = 'third_game_recycles';
  11. protected $hidden = [];
  12. protected $fillable = [
  13. 'operation_id',
  14. 'member_id',
  15. 'player_id',
  16. 'status',
  17. 'game_balance',
  18. 'wallet_balance',
  19. 'error',
  20. 'resolution_remark',
  21. 'credited_at',
  22. ];
  23. protected $casts = [
  24. 'game_balance' => 'decimal:10',
  25. 'wallet_balance' => 'decimal:10',
  26. 'credited_at' => 'datetime',
  27. ];
  28. }