package com.jwipc.finance.convert;

import com.jwipc.finance.dto.AccountSalesContractsDetailDTO;
import com.jwipc.finance.dto.AccountStatementDTO;
import com.jwipc.finance.entity.AccountSalesContractsDetail;
import com.jwipc.finance.entity.AccountStatement;
import com.jwipc.finance.model.po.AccountSalesContractsDetailPO;
import com.jwipc.finance.model.po.AccountStatementPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 *
 */
@Mapper(componentModel = "spring")
public interface AccountSalesContractsDetailConvert {
    List<AccountSalesContractsDetailDTO> entity2DTOs(List<AccountSalesContractsDetail> contractsDetails);

    List<AccountSalesContractsDetailPO> entity2POs(List<AccountSalesContractsDetail> contractsDetails);

    List<AccountSalesContractsDetailDTO>  po2PageListDTO (List<AccountSalesContractsDetailPO> contractsDetails);

    AccountSalesContractsDetailDTO entity2DTO(AccountSalesContractsDetail contractsDetail);


    AccountSalesContractsDetail DTO2Entity(AccountSalesContractsDetailDTO contractsDetail);
}
