content: package com.cf.carpark.admin.swagger;
  
  import com.cf.carpark.domain.request.CfCarParkCheckpointForm;
  import com.cf.carpark.domain.request.CfCarParkCheckpointQuery;
  import com.cf.framework.domain.response.ResponseResult;
  import io.swagger.annotations.Api;
  import io.swagger.annotations.ApiImplicitParam;
  import io.swagger.annotations.ApiImplicitParams;
  import io.swagger.annotations.ApiOperation;
  import org.springframework.validation.annotation.Validated;
  import org.springframework.web.bind.annotation.RequestBody;
  
  @Api(tags = {"停车场关卡相关"})
  public interface CfCarParkCheckpointSwagger {
  
      @ApiOperation(value = "关卡(出入口)列表")
      @ApiImplicitParams({
              @ApiImplicitParam(name="authorization",value = "jwt串(请加\"Bearer \"前缀，注意有空格)",required=true,paramType="header",dataType="string"),
              @ApiImplicitParam(name="lang",value = "语言(zh-中文[默认]/en-英文...更多见官网文档)",required=false,paramType="header",dataType="string"),
      })
      public ResponseResult getListByQuery(@Validated CfCarParkCheckpointQuery cfCarParkCheckpointQuery) throws Exception;
  
      @ApiOperation(value = "新增")
      @ApiImplicitParams({
              @ApiImplicitParam(name="authorization",value = "jwt串(请加\"Bearer \"前缀，注意有空格)",required=true,paramType="header",dataType="string"),
              @ApiImplicitParam(name="lang",value = "语言(zh-中文[默认]/en-英文...更多见官网文档)",required=false,paramType="header",dataType="string"),
      })
      public ResponseResult add(@Validated @RequestBody CfCarParkCheckpointForm cfCarParkCheckpointForm);
  
      @ApiOperation(value = "更新")
      @ApiImplicitParams({
              @ApiImplicitParam(name="authorization",value = "jwt串(请加\"Bearer \"前缀，注意有空格)",required=true,paramType="header",dataType="string"),
              @ApiImplicitParam(name="lang",value = "语言(zh-中文[默认]/en-英文...更多见官网文档)",required=false,paramType="header",dataType="string"),
      })
      public ResponseResult update(@Validated @RequestBody CfCarParkCheckpointForm cfCarParkCheckpointForm) throws Exception;
  
      @ApiOperation(value = "选择指定通道上下班")
      @ApiImplicitParams({
              @ApiImplicitParam(name="authorization",value = "jwt串(请加\"Bearer \"前缀，注意有空格)",required=true,paramType="header",dataType="string"),
              @ApiImplicitParam(name="lang",value = "语言(zh-中文[默认]/en-英文...更多见官网文档)",required=false,paramType="header",dataType="string"),
      })
      public ResponseResult goOffWorkOrGoToWork(@Validated @RequestBody CfCarParkCheckpointForm cfCarParkCheckpointForm) throws Exception;
  
      @ApiOperation(value = "删除")
      @ApiImplicitParams({
              @ApiImplicitParam(name="authorization",value = "jwt串(请加\"Bearer \"前缀，注意有空格)",required=true,paramType="header",dataType="string"),
              @ApiImplicitParam(name="lang",value = "语言(zh-中文[默认]/en-英文...更多见官网文档)",required=false,paramType="header",dataType="string"),
      })
      public ResponseResult delete(String id);
  
  }
  