package com.jwipc.contract.convert;

import com.jwipc.contract.base.ContractDetailClientDTO;
import com.jwipc.contract.base.ContractSendSignClientDTO;
import com.jwipc.contract.base.ContractSendSignResultClientDTO;
import com.jwipc.contract.base.DigitalSealConfigClientDTO;
import com.jwipc.contract.dto.ContractDetailDTO;
import com.jwipc.contract.dto.ContractSendSignDTO;
import com.jwipc.contract.dto.ContractSendSignResultDTO;
import com.jwipc.contract.model.po.DigitalSealConfigDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/4/29 17:10
 * @desc
 */
@Mapper(componentModel = "spring")
public interface ContractClientConvert {
    ContractSendSignDTO clientDTO2DTO(ContractSendSignClientDTO contractSendSignClientDTO);

    ContractSendSignResultClientDTO resultClientDTO2DTO(ContractSendSignResultDTO contractSendSignResultDTO);

    DigitalSealConfigClientDTO digitalSealConfigDTO2CDTO(DigitalSealConfigDTO digitalSealConfigDTO);

    List<ContractDetailClientDTO> detailListToClient(List<ContractDetailDTO> contractDetailClientDTOS);
}
