package cn.com.poc.agent_application.rest;

import cn.com.yict.framemax.core.rest.BaseRest;
import cn.com.poc.agent_application.dto.BizAgentApplicationPublishDto;
import cn.com.yict.framemax.data.model.PagingInfo;
import java.util.List;
import cn.com.yict.framemax.web.permission.Access;
import cn.com.yict.framemax.web.permission.Permission;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@Permission(value = Access.Safety)
public interface BizAgentApplicationPublishRest extends BaseRest {

    BizAgentApplicationPublishDto getById(@RequestParam java.lang.Integer id) throws Exception;
    
    List<BizAgentApplicationPublishDto> getList(@RequestBody BizAgentApplicationPublishDto example,PagingInfo pagingInfo) throws Exception;
        
    BizAgentApplicationPublishDto save(@RequestBody BizAgentApplicationPublishDto dto) throws Exception;

    void deletedById(@RequestParam java.lang.Integer id) throws Exception;
        
}