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

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

import com.eactive.eai.common.sysdomain.SysDomainVO;
import com.eactive.eai.data.entity.onl.sysdomain.SysDomain;
import com.eactive.eai.data.mapper.GenericMapper;

@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface SysDomainMapper extends GenericMapper<SysDomainVO, SysDomain> {
	@Mapping(source = "sysdomnname", target = "sysDomainNm")
	@Mapping(source = "sysdomndesc", target = "sysDomainDesc")
	@Override
	SysDomainVO toVo(SysDomain entity);
}
