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

com.brihaspathee.zeus.mapper.interfaces.BrokerMapper Maven / Gradle / Ivy

The newest version!
package com.brihaspathee.zeus.mapper.interfaces;

import com.brihaspathee.zeus.domain.entity.Account;
import com.brihaspathee.zeus.domain.entity.Broker;
import com.brihaspathee.zeus.dto.account.BrokerDto;

import java.util.List;

/**
 * Created in Intellij IDEA
 * User: Balaji Varadharajan
 * Date: 29, November 2022
 * Time: 1:53 PM
 * Project: Zeus
 * Package Name: com.brihaspathee.zeus.mapper.interfaces
 * To change this template use File | Settings | File and Code Template
 */
public interface BrokerMapper {

    /**
     * Convert broker entity to broker dto
     * @param broker
     * @return
     */
    BrokerDto brokerToBrokerDto(Broker broker);

    /**
     * Convert broker dto to broker entity
     * @param brokerDto
     * @return
     */
    Broker brokerDtoToBroker(BrokerDto brokerDto);

    /**
     * Convert broker entities to broker dtos
     * @param brokers
     * @return
     */
    List brokersToBrokerDtos(List brokers);

    /**
     * Convert broker dtos to broker entities
     * @param brokerDtos
     * @return
     */
    List brokerDtosToBrokers(List brokerDtos);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy