Withdraw.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 Withdraw.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property int $m_id 用户ID
  12. * @property int $status 状态,1:待审核,2:已驳回,3:已完成
  13. * @property float $money 提现金额
  14. * @property float $service_money 手续费
  15. * @property float $withdraw_money 到账金额
  16. * @property \Illuminate\Support\Carbon|null $created_at
  17. * @property \Illuminate\Support\Carbon|null $updated_at
  18. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw newModelQuery()
  19. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw newQuery()
  20. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw query()
  21. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereCreatedAt($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereId($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereMId($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereMoney($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereServiceMoney($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereStatus($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereUpdatedAt($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereWithdrawMoney($value)
  29. * @mixin \Eloquent
  30. * @property int|null $withdraw_type 打款类型:1:自动转账,2:线下打款
  31. * @property string|null $wx_data
  32. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereWithdrawType($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereWxData($value)
  34. * @property int $coin_id 货币类型
  35. * @property string $address
  36. * @property string $hash
  37. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereAddress($value)
  38. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereCoinId($value)
  39. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereHash($value)
  40. * @property int $task_id 任务ID
  41. * @method static \Illuminate\Database\Eloquent\Builder|Withdraw whereTaskId($value)
  42. */
  43. class Withdraw extends Model implements Transformable
  44. {
  45. use TransformableTrait;
  46. /**
  47. * The attributes that are mass assignable.
  48. *
  49. * @var array
  50. */
  51. protected $guarded = ['id', 'updated_at', 'created_at'];
  52. }