package com.xcong.excoin.modules.coin.mapper;
|
|
import com.xcong.excoin.modules.coin.entity.OrderCoinsDealEntity;
|
import com.xcong.excoin.modules.coin.entity.OrderCoinsEntity;
|
import org.mapstruct.Mapper;
|
import org.mapstruct.Mapping;
|
import org.mapstruct.factory.Mappers;
|
|
/**
|
* @author wzy
|
* @date 2020-07-01
|
**/
|
@Mapper
|
public abstract class OrderCoinsDealMapper {
|
|
public static final OrderCoinsDealMapper INSTANCE = Mappers.getMapper(OrderCoinsDealMapper.class);
|
|
@Mapping(target = "symbolCnt", source = "entrustCnt")
|
public abstract OrderCoinsDealEntity orderToOrderDeal(OrderCoinsEntity orderCoinsEntity);
|
|
}
|