ThirdGameOrder.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. namespace App\Models;
  3. class ThirdGameOrder extends BaseModel
  4. {
  5. protected $table = 'third_game_orders';
  6. protected $hidden = [];
  7. protected $fillable = [
  8. 'order_key',
  9. 'user_id',
  10. 'member_id',
  11. 'username',
  12. 'first_name',
  13. 'player_id',
  14. 'platform',
  15. 'currency',
  16. 'game_type',
  17. 'game_name',
  18. 'round_no',
  19. 'table_no',
  20. 'seat',
  21. 'bet_amount',
  22. 'valid_amount',
  23. 'settled_amount',
  24. 'bet_content',
  25. 'status',
  26. 'game_order_id',
  27. 'bet_time',
  28. 'last_update_time',
  29. ];
  30. protected $casts = [
  31. 'user_id' => 'integer',
  32. 'game_type' => 'integer',
  33. 'bet_amount' => 'decimal:10',
  34. 'valid_amount' => 'decimal:10',
  35. 'settled_amount' => 'decimal:10',
  36. 'third_game_commission_ratio' => 'decimal:10',
  37. 'third_game_commission' => 'decimal:10',
  38. 'status' => 'integer',
  39. 'bet_time' => 'datetime',
  40. 'last_update_time' => 'datetime',
  41. ];
  42. }