package com.zsElectric.boot.business.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsElectric.boot.business.model.entity.UserOrderInfo;
import com.zsElectric.boot.business.model.form.UserOrderInfoForm;

/**
 * 用户支付订单信息对象转换器
 *
 * @author zsElectric
 * @since 2025-12-16 16:25
 */
@Mapper(componentModel = "spring")
public interface UserOrderInfoConverter {

    UserOrderInfoForm toForm(UserOrderInfo entity);

    UserOrderInfo toEntity(UserOrderInfoForm formData);
}