<?php
namespace app\workerapi\validate;


use app\common\validate\BaseValidate;


/**
 * GoodsFeeStandards验证器
 * Class GoodsFeeStandardsValidate
 * @package app\workerapi\validate\works
 */
class GoodsFeeStandardsValidate extends BaseValidate
{

     /**
      * 设置校验规则
      * @var string[]
      */
    protected $rule = [
        'work_id' => 'require'
    ];


    /**
     * 参数描述
     * @var string[]
     */
    protected $field = [
        'work_id' => '工单ID'
    ];

    /**
     * 报价获取列表
     * @return GoodsFeeStandardsValidate
     */
    public function sceneStandards()
    {
        return $this->only(['work_id']);
    }
}