package com.jwipc.tender.convert;

import com.jwipc.tender.dto.SecurityDepositAccountBaseDTO;
import com.jwipc.tender.entity.SecurityDepositAccount;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface SecurityDepositAccountConvert {
    SecurityDepositAccountBaseDTO entity2Dto(SecurityDepositAccount depositAccount);

    List<SecurityDepositAccountBaseDTO> entities2Dtos(List<SecurityDepositAccount> list);

    SecurityDepositAccount dto2Entity(SecurityDepositAccountBaseDTO securityDepositAccountBaseDTO);
}
