package tkio.repository;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import tkio.model.App;
import tkio.model.Crowd;

import java.math.BigInteger;
import java.util.List;

public interface CrowdRepository extends JpaRepository<Crowd, Long> {

	@Query(value = "select * from crowd where contract_code = ?1", nativeQuery = true)
	Crowd findOne(String code);
}
