All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.brihaspathee.zeus.domain.repository.TradingPartnerRepository Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy