package org.qinan.safetyeval.infrastructure.convertor;

import org.mapstruct.Mapper;
import org.qinan.safetyeval.client.change.request.QualFilingEquipmentChangePageQry;
import org.qinan.safetyeval.client.change.response.QualFilingEquipmentChangeCo;
import org.qinan.safetyeval.domain.change.model.QualFilingEquipmentChangeE;
import org.qinan.safetyeval.infrastructure.persistence.domainobject.QualFilingEquipmentChangeDO;

import java.util.List;


/**
 * 备案申请装备-变更对象转换
 *
 * @Author: ltq
 * @date 2026-07-02 10:03:59
 */
@Mapper(componentModel = "spring")
public interface QualFilingEquipmentChangeDoConvertor {
    /**
     * 领域对象转DO
     *
     * @param qualFilingEquipmentChangeE
     * @return
     */
    QualFilingEquipmentChangeDO convertEeToDo(QualFilingEquipmentChangeE qualFilingEquipmentChangeE);

    /**
     * DO转Co
     *
     * @param qualFilingEquipmentChangeDo DO
     * @return
     */

    QualFilingEquipmentChangeCo converDoToCo(QualFilingEquipmentChangeDO qualFilingEquipmentChangeDo);

    /**
     * qry TO DO
     *
     * @param qualFilingEquipmentChangePageQry
     * @return
     */

    QualFilingEquipmentChangeDO convertQryToDo(QualFilingEquipmentChangePageQry qualFilingEquipmentChangePageQry);

    /**
     * DOs转Cos
     *
     * @param qualFilingEquipmentChangeDos dos
     * @return
     */
    List<QualFilingEquipmentChangeCo> converDosToCos(List<QualFilingEquipmentChangeDO> qualFilingEquipmentChangeDos);

    /**
     * DO转领域对象
     */
    QualFilingEquipmentChangeE converDoToEe(QualFilingEquipmentChangeDO qualFilingEquipmentChangeDO);

    /**
     * DOs转领域对象列表
     */
    List<QualFilingEquipmentChangeE> converDosToEes(List<QualFilingEquipmentChangeDO> qualFilingEquipmentChangeDOs);
}
