th.co.geniustree.dental.repo.DoctorRepo.java Source code

Java tutorial

Introduction

Here is the source code for th.co.geniustree.dental.repo.DoctorRepo.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package th.co.geniustree.dental.repo;

import java.io.Serializable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.web.bind.annotation.RestController;
import th.co.geniustree.dental.model.Doctor;

/**
 *
 * @author Best
 */

public interface DoctorRepo extends JpaRepository<Doctor, Integer>, JpaSpecificationExecutor<Doctor> {

    public Doctor findByEmail(String email);

}