zainali5120
2020-10-08 0f25ef5fe5076be73cf7d40b2f0f9c3f7293eadb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
 
}