package com.bcxin.tenant.open.domains.repositories;

import com.bcxin.tenant.open.domains.criterias.RollCallPlanSearchCriteria;
import com.bcxin.tenant.open.domains.entities.RollCallPlanEntity;
import com.bcxin.tenant.open.infrastructures.EntityCollection;
import com.bcxin.tenant.open.infrastructures.enums.RepetitiveRule;
import com.bcxin.tenant.open.infrastructures.repositories.RepositoryBase;

import java.sql.Time;
import java.sql.Timestamp;
import java.util.Collection;
import java.util.Date;

public interface RollCallPlanRepository extends RepositoryBase<RollCallPlanEntity> {
    EntityCollection<RollCallPlanEntity> search(RollCallPlanSearchCriteria criteria);

    Collection<RollCallPlanEntity> getScheduledRollCallPlans(Timestamp scheduledTime, RepetitiveRule repetitiveRule);
}
