You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
624 B
22 lines
624 B
package de.superx.jdbc.repository; |
|
|
|
import java.util.Optional; |
|
|
|
import org.springframework.data.repository.CrudRepository; |
|
import org.springframework.data.repository.RepositoryDefinition; |
|
import org.springframework.stereotype.Repository; |
|
|
|
import de.superx.jdbc.entity.MaskStatistic; |
|
|
|
/** |
|
* @author j.hientzsch |
|
* @since 2021.06 |
|
* */ |
|
@RepositoryDefinition(domainClass = MaskStatistic.class, idClass = Integer.class) |
|
@Repository |
|
public interface MaskStatisticRepository extends CrudRepository<MaskStatistic, Integer> { |
|
|
|
//Fetches MaskStatistic Entity from given tid |
|
Optional<MaskStatistic> findByTid(Integer tid); |
|
|
|
}
|
|
|