com.brihaspathee.zeus.domain.repository.TradingPartnerRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tp-service Show documentation
Show all versions of tp-service Show documentation
Service that contains all Trading Partner Information
The newest version!
package com.brihaspathee.zeus.domain.repository;
import com.brihaspathee.zeus.domain.entity.TradingPartner;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.Optional;
import java.util.UUID;
/**
* Created in Intellij IDEA
* User: Balaji Varadharajan
* Date: 19, January 2022
* Time: 3:01 PM
* Project: Zeus
* Package Name: com.zeus.domain.repository
* To change this template use File | Settings | File and Code Template
*/
@Repository
public interface TradingPartnerRepository extends JpaRepository {
Optional findTradingPartnerByTradingPartnerId(String tradingPartnerId);
Optional findTradingPartnerBySenderIdAndReceiverId(String senderId, String receiverId);
}