mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-26 00:32:34 +03:00
add customer table, dto, repository, service
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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?
|
||||
}
|
||||
Reference in New Issue
Block a user