mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-25 16:22:35 +03:00
12 lines
322 B
Kotlin
12 lines
322 B
Kotlin
package com.example.demo.providers
|
|
|
|
import com.example.demo.models.Customer
|
|
import org.springframework.data.repository.CrudRepository
|
|
import org.springframework.stereotype.Repository
|
|
import java.util.*
|
|
|
|
@Repository
|
|
interface CustomerRepository: CrudRepository<Customer, Long> {
|
|
fun findByGuid(guid: UUID): Customer?
|
|
}
|