package com.jwipc.finance.convert;

import com.jwipc.finance.dto.CompanyAccountStatementDTO;
import com.jwipc.finance.dto.CompanyAccountStatementParamDTO;
import com.jwipc.finance.entity.CompanyAccountStatement;
import com.jwipc.finance.model.po.CompanyAccountStatementPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2025/11/3 17:59
 * @desc
 */
@Mapper(componentModel = "spring")
public interface CompanyAccountStatementConvert {
    CompanyAccountStatementDTO entity2DTO(CompanyAccountStatement costAccountStatement);

    List<CompanyAccountStatementDTO> po2PageListDTO(List<CompanyAccountStatementPO> accountStatementPOS);

    CompanyAccountStatement DTO2Entity(CompanyAccountStatementParamDTO param);

    CompanyAccountStatementDTO po2DTO(CompanyAccountStatementPO costAccountStatement);
}
