TransferOrder.php 1009 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace App\Module\Transfer\Model;
  3. use App\Models\ModelCore;
  4. use App\Module\Transfer\Enums\TStatus;
  5. use App\Module\Transfer\Enums\TType;
  6. /**
  7. * 划转订单
  8. *
  9. * field start
  10. * @property int $id
  11. * @property int $trapp_id 划转 app_id
  12. * @property int $out_id 对应 外部APP
  13. * @property string $out_order_id 外部 订单ID
  14. * @property int $crrency_id 对应 货币
  15. * @property int $fund_id 对应 账户
  16. * @property string $ouser_id 外部 - 用户ID
  17. * @property int $user_id 用户ID
  18. * @property int $status 状态
  19. * @property int $type 类型,方向
  20. * @property float $oamount 外部钱数
  21. * @property int $amount 我们钱数
  22. * @property \Carbon\Carbon $created_at
  23. * @property \Carbon\Carbon $updated_at
  24. * @property \Carbon\Carbon $deleted_at 删除时间
  25. * field end
  26. *
  27. */
  28. class TransferOrder extends ModelCore
  29. {
  30. protected $casts=[
  31. 'status'=>TStatus::class,
  32. 'type'=>TType::class
  33. ];
  34. }