add customer table, dto, repository, service

This commit is contained in:
Denis Savosin
2024-10-14 10:38:04 +07:00
parent 25fb73ffa4
commit fecbee8b28
12 changed files with 205 additions and 34 deletions

View File

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