package com.lxzn.api.nc; import com.lxzn.framework.domain.nc.ComponentInfo; import com.lxzn.framework.model.response.ResponseResult; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; @Api(value = "部件信息管理",description = "部件信息管理") public interface ComponentInfoControllerApi { @ApiOperation("新增部件信息") ResponseResult addComponentInfo(ComponentInfo componentInfo); @ApiOperation("编辑部件信息") ResponseResult editComponentInfo(String id,ComponentInfo componentInfo); @ApiOperation("删除部件") ResponseResult deleteComponentInfo(String id); @ApiOperation("检查PN码是否存在") ResponseResult validateComponentOrPartsPnCode(String pnCode); }