'require', 'bhoid' => 'require', 'offer_id' => 'require', 'warehouse_id' => 'require', 'warehouse_product_id' => 'require', 'product_id' => 'require', 'purchase_price' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', ]; /** * @notes 添加场景 * @return StoreProductPriceValidate * @author admin * @date 2025/04/03 15:19 */ public function sceneAdd() { return $this->remove('id', true); } /** * @notes 编辑场景 * @return StoreProductPriceValidate * @author admin * @date 2025/04/03 15:19 */ public function sceneEdit() { return $this->only(['id']); } /** * @notes 删除场景 * @return StoreProductPriceValidate * @author admin * @date 2025/04/03 15:19 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return StoreProductPriceValidate * @author admin * @date 2025/04/03 15:19 */ public function sceneDetail() { return $this->only(['id']); } }