package com.ffii.lioner.modules.lioner.pdf.entity;

import java.time.LocalDate;
import java.util.List;

import com.ffii.core.support.AbstractRepository;

public interface FormSigPageRepository extends AbstractRepository<FormSigPage, Long> {

    List<FormSigPage> findByFormCodeAndSigTypeAndStartDateLessThanEqualAndDeletedFalseOrderByStartDateDesc(
            String formCode, String sigType, LocalDate asOfDate);

    List<FormSigPage> findByDeletedFalseOrderByFormCodeAscStartDateDesc();
}
