<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/29
 * Time: 17:21
 */

namespace app\finance\validate;

use think\Validate;

class Buy extends Validate
{
    protected $rule = [
        'data_id' => 'require|number'
    ];

    protected $message = [
        'data_id.require' => '请提交数据信息'
    ];
}