'require', 'external_platform_id' => 'require', 'service_fee' => 'require', 'order_sn' => 'require', 'work_id' => 'require', 'work_sn' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'external_platform_id' => '外部平台ID', 'service_fee' => '服务价格', 'order_sn' => '外部订单编码', 'work_id' => '内部工单id', 'work_sn' => '内部工单编码', ]; /** * @notes 添加场景 * @return ExternalPlatformOrdersValidate * @author likeadmin * @date 2025/03/23 13:58 */ public function sceneAdd() { return $this->only(['external_platform_id','service_fee','order_sn','work_id','work_sn']); } /** * @notes 编辑场景 * @return ExternalPlatformOrdersValidate * @author likeadmin * @date 2025/03/23 13:58 */ public function sceneEdit() { return $this->only(['id','external_platform_id','service_fee','order_sn','work_id','work_sn']); } /** * @notes 删除场景 * @return ExternalPlatformOrdersValidate * @author likeadmin * @date 2025/03/23 13:58 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return ExternalPlatformOrdersValidate * @author likeadmin * @date 2025/03/23 13:58 */ public function sceneDetail() { return $this->only(['id']); } }