| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- namespace plugin\admin\app\model;
- use plugin\admin\app\model\Base;
- /**
- * @property integer $id (主键)
- * @property integer $user_id 用户ID
- * @property integer $order_no 订单号
- * @property string $money 提现金额
- * @property integer $status 状态 1 待审核 2打款中 3审核通过 4驳回
- * @property integer $type 钱包类型 1收益余额 2慈善钱包 3 佣金钱包
- * @property string $affiliated_bank 归属银行
- * @property string $account_holder 开户人
- * @property string $card_number 卡号
- * @property string $created_at 提交时间
- * @property string $updated_at 更新时间
- */
- class Withdraw extends Base
- {
- /**
- * The table associated with the model.
- *
- * @var string
- */
- protected $table = 'wa_withdraw';
- /**
- * The primary key associated with the table.
- *
- * @var string
- */
- protected $primaryKey = 'id';
- public function userData()
- {
- return $this->hasOne(User::class,'id','user_id');
- }
-
- }
|