package com.jeesharp.business.modules.finance.payorder.convert;

import com.jeesharp.business.modules.finance.payorder.dto.PayOrderSaveDTO;
import com.jeesharp.business.modules.finance.payorder.entity.PayOrder;
import com.jeesharp.business.modules.finance.payorder.vo.PayOrderInfoVO;
import com.jeesharp.business.modules.finance.payorder.vo.PayOrderListVO;
import com.jeesharp.business.modules.finance.payorder.vo.PayOrderQueryVO;
import com.jeesharp.framework.common.pojo.convert.BasePojoConvert;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 支付单 MapStruct 转换器，继承 {@link BasePojoConvert} 统一 Entity 与 DTO、VO 映射。
 *
 * @author jeesharp
 * @since 2026-05-08
 */
@Mapper
public interface PayOrderConvert extends BasePojoConvert<PayOrder, PayOrderSaveDTO, PayOrderInfoVO, PayOrderListVO,
        PayOrderQueryVO> {

    PayOrderConvert INSTANCE = Mappers.getMapper(PayOrderConvert.class);
}
