package vn.azteam.tpf.repository;

import vn.azteam.tpf.domain.TBDetailUser;
import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;
import vn.azteam.tpf.service.dto.TBDetailUserDTO;

import java.util.Optional;


/**
 * Spring Data  repository for the TBDetailUser entity.
 */
@SuppressWarnings("unused")
@Repository
public interface TBDetailUserRepository extends JpaRepository<TBDetailUser, Long>, JpaSpecificationExecutor<TBDetailUser> {
    Optional<TBDetailUser> findOneByPhone(String phone);
}
