<?php
namespace app\api\validate;

use app\common\validate\BaseValidate;

/**
 * 物业模块验证器
 * Class PropertyValidate
 * @package app\api\validate
 */
class PropertyValidate extends BaseValidate
{

    protected $rule = [
        'amount' => 'require'
    ];


    protected $message = [
        'amount.require' => '提现金额不能为空',
    ];

    public function sceneWithdrawCash()
    {
        return $this->only(['amount']);
    }
}