package com.jwipc.finance.convert;

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

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/3/4 11:39
 * @desc
 */
@Mapper(componentModel = "spring")
public interface AccountStatementConvert {
    List<AccountStatementDTO> po2PageListDTO(List<AccountStatementPO> accountStatementPOS);

    AccountStatementDTO entity2DTO(AccountStatement accountStatement);
    AccountStatementDTO poy2DTO(AccountStatementPO accountStatementPO);

    AccountStatement DTO2Entity(AccountStatementDTO head);
}
