66 lines
1.8 KiB
PHP
66 lines
1.8 KiB
PHP
<?php
|
|
|
|
namespace common\modelsgii\oldDb;
|
|
|
|
/**
|
|
* This is the model class for table "yii_cash_apply".
|
|
*
|
|
* @property int $id
|
|
* @property int $user_id 体现申请用户ID
|
|
* @property float $apply_cash 申请提现金额
|
|
* @property float $true_cash 实际金额
|
|
* @property float $charge_cash 手续费
|
|
* @property int $check_id 审核人ID
|
|
* @property int $check_status 审核状态0待审核1审核中2已通过3已拒绝
|
|
* @property string $check_result 审核结果
|
|
* @property string $check_time 审核时间
|
|
* @property string $apply_time 申请时间
|
|
* @property int $created_at
|
|
* @property int $updated_at
|
|
*/
|
|
class CashApply extends \common\core\BaseActiveRecord
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public static function tableName()
|
|
{
|
|
return 'yii_cash_apply';
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
[['user_id', 'apply_cash', 'apply_time'], 'required'],
|
|
[['user_id', 'check_id', 'check_status', 'created_at', 'updated_at'], 'integer'],
|
|
[['apply_cash','true_cash','charge_cash'], 'number'],
|
|
[['check_time', 'apply_time'], 'safe'],
|
|
[['check_result'], 'string', 'max' => 200],
|
|
];
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function attributeLabels()
|
|
{
|
|
return [
|
|
'id' => 'ID',
|
|
'user_id' => 'User ID',
|
|
'apply_cash' => 'Apply Cash',
|
|
'true_cash' => 'True Cash',
|
|
'charge_cash' => 'Charge Cash',
|
|
'check_id' => 'Check ID',
|
|
'check_status' => 'Check Status',
|
|
'check_result' => 'Check Result',
|
|
'check_time' => 'Check Time',
|
|
'apply_time' => 'Apply Time',
|
|
'created_at' => 'Created At',
|
|
'updated_at' => 'Updated At',
|
|
];
|
|
}
|
|
}
|