package com.xunhong.erp.turbo.biz.domain.gateway;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xunhong.erp.turbo.api.biz.dto.cmd.CompanyPaymentAccountCreateCmd;
import com.xunhong.erp.turbo.api.biz.dto.cmd.CompanyPaymentAccountDestroyCmd;
import com.xunhong.erp.turbo.api.biz.dto.cmd.CompanyPaymentAccountUpdateCmd;
import com.xunhong.erp.turbo.api.biz.dto.qry.CompanyPaymentAccountListQry;
import com.xunhong.erp.turbo.api.biz.dto.qry.CompanyPaymentAccountPageQry;
import com.xunhong.erp.turbo.api.biz.dto.qry.CompanyPaymentAccountShowQry;
import com.xunhong.erp.turbo.biz.domain.entity.CompanyPaymentAccount;

import java.util.List;

/**
 * @author shenyifei
 */
public interface CompanyPaymentAccountGateway {
	CompanyPaymentAccount save(CompanyPaymentAccountCreateCmd companyPaymentAccountCreateCmd);

	IPage<CompanyPaymentAccount> page(CompanyPaymentAccountPageQry companyPaymentAccountPageQry);

	List<CompanyPaymentAccount> list(CompanyPaymentAccountListQry companyPaymentAccountListQry);

	CompanyPaymentAccount update(CompanyPaymentAccountUpdateCmd companyPaymentAccountUpdateCmd);

	CompanyPaymentAccount show(CompanyPaymentAccountShowQry companyPaymentAccountShowQry);

	void destroy(CompanyPaymentAccountDestroyCmd companyPaymentAccountDestroyCmd);
}

