package com.eactive.eai.common.unifbwk.mapper;

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

import com.eactive.eai.common.unifbwk.UnifBwkTpVO;
import com.eactive.eai.data.entity.onl.unifbwk.UnifBwkTp;
import com.eactive.eai.data.mapper.GenericMapper;

@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface UnifBwkTpMapper extends GenericMapper<UnifBwkTpVO, UnifBwkTp> {

	@Mapping(source = "eaibzwkdstcd", target = "bwkClsCd")
	@Mapping(source = "bzwkdsticname", target = "bwkGrpNm")
	@Mapping(source = "bzwkdsticdesc", target = "bwkGrpDesc")
	@Mapping(source = "trackasiskey1name", target = "trackAsisKey1Name")
	@Mapping(source = "trackasiskey2name", target = "trackAsisKey2Name")
	@Override
	UnifBwkTpVO toVo(UnifBwkTp entity);

}
