package com.crm.activity.service;

import com.crm.rely.backend.core.dto.base.BaseResultWithPagerDto;
import com.crm.rely.backend.model.dto.activity.ActivityRaceSignInfoDto;
import com.crm.rely.backend.model.entity.activity.ActivityRaceSignAddEntity;
import com.crm.rely.backend.model.entity.activity.ActivityRaceSignInfoEntity;
import com.crm.rely.backend.model.entity.activity.ActivityRaceSignListEntity;
import com.crm.rely.backend.model.entity.activity.ActivityRaceSignLoginEntity;

import java.util.List;

/**
 * 周比赛服务接口
 *
 * @author y
 * @create 2022/7/19
 */
public interface ActivityRaceSignService {

    void add(ActivityRaceSignAddEntity entity) throws Exception;

    ActivityRaceSignInfoDto info(ActivityRaceSignInfoEntity entity) throws Exception;

    ActivityRaceSignInfoDto searchById(Long id) throws Exception;

    BaseResultWithPagerDto<List<ActivityRaceSignInfoDto>> searchList(ActivityRaceSignListEntity entity) throws Exception;

    List<Long> getLogins(ActivityRaceSignLoginEntity entity) throws Exception;

}
