Reorganize packages by domain
All checks were successful
build-and-deploy / build-deploy (push) Successful in 34s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 34s
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user