package com.kbstar.eai.common.businessday.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.ReportingPolicy;

import com.eactive.eai.data.entity.onl.businessday.BusinessDayEvent;
import com.eactive.eai.data.mapper.GenericMapper;
import com.kbstar.eai.common.businessday.BusinessDayVO;
import com.kbstar.eai.common.businessday.EventSystemInfoVO;

@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface BusinessDayEventMapper extends GenericMapper<EventSystemInfoVO, BusinessDayEvent> {
	@Mapping(source = "evntrecvsysname", target = "evntRecvSysName")
	@Mapping(source = "adptrbzwkgroupname", target = "adptrBzwkGroupName")
	@Mapping(source = "eaievntprcssdstcd", target = "EAIEvntPrcssDstcd")
	@Override
	EventSystemInfoVO toVo(BusinessDayEvent entity);
}
