package com.jwipc.sys.convert;

import com.jwipc.sys.dto.MoldFormDTO;
import com.jwipc.sys.dto.MoldSettingsDTO;
import com.jwipc.sys.entity.MoldForm;
import com.jwipc.sys.entity.MoldSettings;
import com.jwipc.sys.model.param.MoldFormParam;
import com.jwipc.sys.model.param.MoldSettingsParam;
import com.jwipc.sys.model.po.MoldFormPO;
import com.jwipc.sys.model.po.MoldSettingsPO;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface MoldSettingsConvert {
    List<MoldSettingsDTO> po2PageListDTO(List<MoldSettingsPO> moldSettingsPOS);
    MoldSettingsDTO po2DTO(MoldSettingsPO moldSettingsPO);

    MoldSettings param2Entity(MoldSettingsParam param);
}
