package com.zsElectric.boot.business.converter;

import org.mapstruct.Mapper;
import com.zsElectric.boot.business.model.entity.ChargeOrderInfo;
import com.zsElectric.boot.business.model.form.ChargeOrderInfoForm;

/**
 * 充电订单信息对象转换器
 *
 * @author zsElectric
 * @since 2025-12-17 19:13
 */
@Mapper(componentModel = "spring")
public interface ChargeOrderInfoConverter{

    ChargeOrderInfoForm toForm(ChargeOrderInfo entity);

    ChargeOrderInfo toEntity(ChargeOrderInfoForm formData);
}