package com.eactive.eai.rms.onl.transaction.online;

import org.mapstruct.InheritInverseConfiguration;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

import com.eactive.eai.data.entity.onl.unifbwk.UnifBwkTp;
import com.eactive.eai.data.mapper.BaseMapperConfig;
import com.eactive.eai.data.mapper.GenericMapper;
import com.eactive.eai.rms.data.entity.onl.transaction.TransactionTrackingFilter;

@Mapper(config = BaseMapperConfig.class)
public interface TransactionTrackingFilterUIMapper
		extends GenericMapper<TransactionTrackingFilterUI, TransactionTrackingFilter> {

	@Mapping(source = "id.eaibzwkdstcd", target = "eaibzwkdstcd")
	TransactionTrackingFilterUI toVo(TransactionTrackingFilter entity);

	@InheritInverseConfiguration
	TransactionTrackingFilter toEntity(TransactionTrackingFilterUI vo);

	@Mapping(source = "eaibzwkdstcd", target = "eaibzwkdstcd")
	@Mapping(source = "bzwkdsticname", target = "bzwkdsticname")
	TransactionTrackingFilterUI toVo(UnifBwkTp unifBwkTp);
}
