package com.eactive.eai.rms.onl.audit.adapter.map;

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

import com.eactive.eai.data.entity.onl.adapter.AdapterProp;
import com.eactive.eai.data.mapper.BaseMapperConfig;
import com.eactive.eai.data.mapper.GenericMapper;
import com.eactive.eai.rms.onl.audit.adapter.ui.AdapterPropAuditUI;

@Mapper(config = BaseMapperConfig.class, uses = {})
public interface AdapterPropAuditUIMapper extends GenericMapper<AdapterPropAuditUI, AdapterProp> {

	@Mapping(source = "id.prptygroupname", target = "prptygroupname")
	@Mapping(source = "id.prptyname", target = "prptyname")
	@Override
	AdapterPropAuditUI toVo(AdapterProp entity);

	@InheritInverseConfiguration
	@Override
	AdapterProp toEntity(AdapterPropAuditUI vo);

}
