package com.eactive.eai.rms.onl.manage.serviceinfo.stdmessage;

import org.mapstruct.BeanMapping;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.NullValuePropertyMappingStrategy;

import com.eactive.eai.data.mapper.BaseMapperConfig;
import com.eactive.eai.data.mapper.GenericMapper;
import com.eactive.eai.rms.data.entity.onl.stdmessage.ExtendedColumnDefinition;

@Mapper(config = BaseMapperConfig.class)
public interface ExtendedColumnDefinitionUIMapper
		extends GenericMapper<ExtendedColumnDefinitionUI, ExtendedColumnDefinition> {

	@BeanMapping(nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE)
	void updateEntity(ExtendedColumnDefinitionUI extendedColumnDefinitionUI,
			@MappingTarget ExtendedColumnDefinition extendedColumnDefinition);

}
