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

/**
 * 广告管理对象转换器
 *
 * @author wzq
 * @since 2025-11-26 15:57
 */
@Mapper(componentModel = "spring")
public interface AdvertisingConverter{

    AdvertisingForm toForm(Advertising entity);

    Advertising toEntity(AdvertisingForm formData);
}