zainali5120
2020-07-16 1c043f5cda42801c0dcc830df5b95c6916dc5ec2
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);
 
}