package com.clx.performance.struct;

import com.clx.performance.model.OrderGoods;
import com.clx.performance.vo.feign.OrderGoodsFeignVO;
import com.clx.performance.vo.pc.OrderGoodsVO;
import com.clx.performance.vo.pc.linewarn.LineWarnTraceVO;
import com.msl.common.utils.DateStructUtil;
import com.msl.common.utils.DateUtils;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring", uses = DateStructUtil.class, imports = {DateUtils.class})
public interface OrderGoodsStruct {


    OrderGoodsVO convert(OrderGoods orderGoods);

    List<OrderGoodsFeignVO> convertList(List<OrderGoods> orderGoods);

    LineWarnTraceVO convertLineWarnTraceVO(OrderGoods orderGoods);

}
