Reorganize packages by domain
All checks were successful
build-and-deploy / build-deploy (push) Successful in 34s

This commit is contained in:
androidlover5842
2026-02-01 17:23:21 +05:30
parent 04d41979d7
commit 9076ae6c93
111 changed files with 467 additions and 358 deletions

View File

@@ -0,0 +1,13 @@
package com.android.trisolarisserver.repo.email
import com.android.trisolarisserver.models.booking.InboundEmail
import org.springframework.data.jpa.repository.JpaRepository
import java.util.UUID
interface InboundEmailRepo : JpaRepository<InboundEmail, UUID> {
fun findByMessageId(messageId: String): InboundEmail?
fun findByPropertyIdAndOtaBookingId(propertyId: UUID, otaBookingId: String): InboundEmail?
fun findByIdAndPropertyId(id: UUID, propertyId: UUID): InboundEmail?
fun existsByMessageId(messageId: String): Boolean
fun existsByPropertyIdAndOtaBookingId(propertyId: UUID, otaBookingId: String): Boolean
}