package com.jeesharp.business.modules.food.convert;

import com.jeesharp.business.modules.food.dto.FoodRestaurantSaveDTO;
import com.jeesharp.business.modules.food.entity.FoodRestaurant;
import com.jeesharp.business.modules.food.vo.FoodRestaurantInfoVO;
import com.jeesharp.business.modules.food.vo.FoodRestaurantListVO;
import com.jeesharp.business.modules.food.vo.FoodRestaurantQueryVO;
import com.jeesharp.framework.common.pojo.convert.BasePojoConvert;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 美食门店 MapStruct 转换器；通过 {@link #INSTANCE} 获取实现，供应用层静态调用。
 *
 * @author jeesharp
 * @since 2026-05-12
 */
@Mapper
public interface FoodRestaurantConvert
    extends BasePojoConvert<FoodRestaurant, FoodRestaurantSaveDTO, FoodRestaurantInfoVO, FoodRestaurantListVO, FoodRestaurantQueryVO> {

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