package cn.lihongjie.coal.supplier.mapper;

import static org.mapstruct.MappingConstants.ComponentModel.SPRING;

import cn.lihongjie.coal.base.mapper.BaseMapper;
import cn.lihongjie.coal.supplier.dto.CreateSupplierDto;
import cn.lihongjie.coal.supplier.dto.SupplierDto;
import cn.lihongjie.coal.supplier.dto.UpdateSupplierDto;
import cn.lihongjie.coal.supplier.entity.SupplierEntity;

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

@Mapper(
        componentModel = SPRING,
        uses = {cn.lihongjie.coal.base.mapper.CommonMapper.class, cn.lihongjie.coal.base.mapper.CommonEntityMapper.class},
        mappingControl = DeepClone.class)
public interface SupplierMapper
        extends BaseMapper<SupplierEntity, SupplierDto, CreateSupplierDto, UpdateSupplierDto> {}
