Files
spring-boot-demo/src/main/kotlin/com/example/demo/providers/CustomerRepository.kt
2024-10-14 11:35:24 +07:00

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?
}