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

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

import com.eactive.eai.data.entity.onl.submessage.SubMessageInfo;
import com.eactive.eai.data.mapper.BaseMapperConfig;
import com.eactive.eai.data.mapper.GenericMapper;

@Mapper(config = BaseMapperConfig.class, uses = SubMessageItemUIMapper.class)
public interface SubMessageUIMapper extends GenericMapper<SubMessageUI, SubMessageInfo> {

	@Mapping(source = "bzwksvckeyname", target = "bzwkSvcKeyName")
	@Override
	SubMessageUI toVo(SubMessageInfo entity);

	@InheritInverseConfiguration
	@Override
	SubMessageInfo toEntity(SubMessageUI vo);

}
