package com.xunhong.erp.turbo.biz.app.assembler;

import com.xunhong.erp.turbo.api.biz.dto.vo.DealerPaymentAccountVO;
import com.xunhong.erp.turbo.biz.domain.entity.DealerPaymentAccount;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.NullValueCheckStrategy;

/**
 * @author shenyifei
 */
@Mapper(componentModel = "spring", nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS, uses = {DealerAssembler.class})
public interface DealerPaymentAccountAssembler {

	@Mapping(target = "dealerVO", source = "dealer")
	DealerPaymentAccountVO toDealerPaymentAccountVO(DealerPaymentAccount dealerPaymentAccount);
}
