package com.red.circle.console.app.service.app.user;


import com.red.circle.common.business.dto.cmd.PageUserIdCmd;
import com.red.circle.console.app.dto.clienobject.user.BeanBalanceCO;
import com.red.circle.console.app.dto.clienobject.user.UserBeanIncomeExpenditureCO;
import com.red.circle.framework.dto.PageResult;
import com.red.circle.wallet.inner.model.cmd.AddOrSubtractBeansCmd;
import com.red.circle.wallet.inner.model.cmd.UserBeanIncomeExpenditurePageQryCmd;

/**
 * 用户豆子余额.
 *
 * @author pengshigang on 2022/12/5
 */
public interface UserBeanBalanceService {

  PageResult<BeanBalanceCO> page(PageUserIdCmd cmd);

  PageResult<UserBeanIncomeExpenditureCO> runningWaterPage(
      UserBeanIncomeExpenditurePageQryCmd query);

  void addOrSubtractBeans(AddOrSubtractBeansCmd param);
}
