package cn.lihongjie.coal.warehouseSupplier.mapper;

import cn.lihongjie.coal.base.mapper.BaseMapper;
import cn.lihongjie.coal.base.mapper.CommonEntityMapper;
import cn.lihongjie.coal.base.mapper.CommonMapper;
import cn.lihongjie.coal.warehouseSupplier.dto.CreateWarehouseSupplierDto;
import cn.lihongjie.coal.warehouseSupplier.dto.UpdateWarehouseSupplierDto;
import cn.lihongjie.coal.warehouseSupplier.dto.WarehouseSupplierDto;
import cn.lihongjie.coal.warehouseSupplier.entity.WarehouseSupplierEntity;

import org.mapstruct.Mapper;
import org.mapstruct.control.DeepClone;

@Mapper(
        componentModel = org.mapstruct.MappingConstants.ComponentModel.SPRING,
        uses = {CommonMapper.class, CommonEntityMapper.class},
        mappingControl = DeepClone.class)
public interface WarehouseSupplierMapper
        extends BaseMapper<
                WarehouseSupplierEntity,
                WarehouseSupplierDto,
                CreateWarehouseSupplierDto,
                UpdateWarehouseSupplierDto> {}
