Auto-generate property codes and join by code
All checks were successful
build-and-deploy / build-deploy (push) Successful in 40s

This commit is contained in:
androidlover5842
2026-02-01 22:58:25 +05:30
parent 7aca2361ca
commit 5df019ed6e
5 changed files with 19 additions and 9 deletions

View File

@@ -7,4 +7,5 @@ import java.util.UUID
interface PropertyRepo : JpaRepository<Property, UUID> {
fun existsByCode(code: String): Boolean
fun existsByCodeAndIdNot(code: String, id: UUID): Boolean
fun findByCode(code: String): Property?
}