package com.clx.performance.struct;

import com.clx.performance.model.PerformanceProgress;
import com.clx.performance.vo.pc.PerformanceProgressDetailVO;
import com.clx.performance.vo.pc.PerformanceProgressVO;
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 PerformanceProgressStruct {
    List<PerformanceProgressVO> convertList(List<PerformanceProgress> records);

    PerformanceProgressDetailVO convert(PerformanceProgress item);

}
