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

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

There is a newer version: 1.0.8
Show 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.List;

/**
 * Created in Intellij IDEA
 * User: Balaji Varadharajan
 * Date: 30, November 2022
 * Time: 3:27 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 phone entity to phone dto
     * @param phone
     * @return
     */
    MemberPhoneDto phoneToPhoneDto(MemberPhone phone);

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

    /**
     * Convert phone entities to phone dtos
     * @param phones
     * @return
     */
    List phonesToPhoneDtos(List phones);

    /**
     * Convert phone dtos to phone entities
     * @param phoneDtos
     * @return
     */
    List phoneDtosToPhones(List phoneDtos);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy