webman/app/model/Withdraw.php

42 lines
890 B
PHP

<?php
namespace app\model;
use support\Model;
/**
* @property integer $id VIP级别的唯一标识符
* @property integer $user_id 用户id
* @property integer $amount 金额
* @property integer $status 1申请中 2 已到账 3已驳回 4等待银行打款 5支付失败
* @property integer $gift_amount 赠送积分
* @property integer $createtime 创建时间(时间戳)
*/
class Withdraw extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'withdraw';
/**
* The primary key associated with the table.
*
* @var string
*/
protected $primaryKey = 'id';
// public $timestamps = false;
protected $fillable = [
'user_id',
'amount',
'status',
'createtime2',
'username',
'status_text',
];
}