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

com.brihaspathee.zeus.mapper.interfaces.MemberMapper 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.Member;
import com.brihaspathee.zeus.dto.account.MemberDto;

import java.util.List;

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

    /**
     * Convert member entity to member dto
     * @param member
     * @return
     */
    MemberDto memberToMemberDto(Member member);

    /**
     * Convert member dto to member entity
     * @param memberDto
     * @return
     */
    Member memberDtoToMember(MemberDto memberDto);

    /**
     * Convert the member entities to member dtos
     * @param members
     * @return
     */
    List membersToMemberDtos(List members);

    /**
     * Convert member dtos to member entities
     * @param memberDtos
     * @return
     */
    List memberDtosToMembers(List memberDtos);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy