'require', 'org_id' => 'require', 'dept_id' => 'require', 'approve_id' => 'require', 'pay_type' => 'require', 'payment_amount' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'org_id' => '组织id', 'dept_id' => '部门id', 'approve_id' => '审批id', 'pay_type' => '付款方式', 'payment_amount' => '本次支付金额', ]; /** * @notes 添加场景 * @return AdministrativePaymentsValidate * @author likeadmin * @date 2023/12/19 14:50 */ public function sceneAdd() { return $this->only(['org_id','dept_id','approve_id','pay_type','payment_amount']); } /** * @notes 编辑场景 * @return AdministrativePaymentsValidate * @author likeadmin * @date 2023/12/19 14:50 */ public function sceneEdit() { return $this->only(['id','org_id','dept_id','approve_id','pay_type','payment_amount']); } /** * @notes 删除场景 * @return AdministrativePaymentsValidate * @author likeadmin * @date 2023/12/19 14:50 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return AdministrativePaymentsValidate * @author likeadmin * @date 2023/12/19 14:50 */ public function sceneDetail() { return $this->only(['id']); } }