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.DiscountsActivity;
import com.zsElectric.boot.business.model.form.DiscountsActivityForm;

/**
 * 优惠活动对象转换器
 *
 * @author zsElectric
 * @since 2025-12-20 16:16
 */
@Mapper(componentModel = "spring")
public interface DiscountsActivityConverter {

    DiscountsActivityForm toForm(DiscountsActivity entity);

    DiscountsActivity toEntity(DiscountsActivityForm formData);
}