package cn.com.poc.ai_software_copyright.rest;

import cn.com.poc.ai_software_copyright.dto.SoftwareCopyRightDto;
import cn.com.yict.framemax.core.rest.BaseRest;
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(Access.Anonymous)
public interface BizSoftwareCopyrightRest extends BaseRest {

    SoftwareCopyRightDto getById(@RequestParam java.lang.Long id) throws Exception;

    SoftwareCopyRightDto save(@RequestBody SoftwareCopyRightDto dto) throws Exception;

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

    List<SoftwareCopyRightDto> querySoftwareCopyRight(@RequestParam(required = false) String query
            , @RequestParam(required = false) String generatedStatus, PagingInfo pagingInfo);
}