package tkio.service;

import common.model.*;

import java.util.List;
import java.util.Map;

/**
 * Created by mxq on 2017/12/26.
 */
public interface TkioAccountService {
    List<Account4Web> findAll(User user);

    //到期提醒关闭
    Reminder forbiden(User user, Reminder resource);

    //到期提醒开启
    Reminder enable(User user, Reminder resource);

    //缴费
    Payment pay(User user, Payment resource);

    //回访
    BackVisit visit(User user, BackVisit resource);

    //查询功能使用情况
    Map<String, Integer> findFunTimes(Long account, String startDate, String endDate);

    //查询功能使用情况
    List<Map<String, Object>>  findPv(Long account, String startDate, String endDate);

    List<Reminder> findRed(Long account, String startDate, String endDate);

    List<BackVisit> findVisit(Long account, String startDate, String endDate);

    List<Payment> findPay(Long account, String startDate, String endDate);

}