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

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

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

import com.brihaspathee.zeus.domain.entity.MemberPhone;
import com.brihaspathee.zeus.dto.account.MemberPhoneDto;

import java.util.Set;

/**
 * Created in Intellij IDEA
 * User: Balaji Varadharajan
 * Date: 10, September 2022
 * Time: 5:14 PM
 * Project: Zeus
 * Package Name: com.brihaspathee.zeus.mapper.interfaces
 * To change this template use File | Settings | File and Code Template
 */
public interface MemberPhoneMapper {

    /**
     * Convert MemberPhoneDto to MemberPhone
     * @param phoneDto
     * @return
     */
    MemberPhone phoneDtoToPhone(MemberPhoneDto phoneDto);

    /**
     * Convert MemberPhone to MemberPhoneDto
     * @param phone
     * @return
     */
    MemberPhoneDto phoneToPhoneDto(MemberPhone phone);

    /**
     * Convert list of member phone dtos to list of member phone entity
     * @param phoneDtos
     * @return
     */
    Set phoneDtosToPhones(Set phoneDtos);

    /**
     * Convert list of member phone entities to member phone dtos
     * @param phones
     * @return
     */
    Set phonesToPhoneDtos(Set phones);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy