package com.jwipc.finance.convert;

import com.jwipc.finance.dto.CostAccountStatementDTO;
import com.jwipc.finance.dto.CostAccountStatementParamDTO;
import com.jwipc.finance.entity.CostAccountStatement;
import com.jwipc.finance.model.po.CostAccountStatementPO;
import org.mapstruct.Mapper;

import java.util.List;

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

    List<CostAccountStatementDTO> po2PageListDTO(List<CostAccountStatementPO> accountStatementPOS);

    CostAccountStatement DTO2Entity(CostAccountStatementParamDTO param);

    CostAccountStatementDTO po2DTO(CostAccountStatementPO costAccountStatement);
}
