package cn.lihongjie.coal.excelGenerator.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.excelGenerator.dto.CreateExcelGeneratorDto;
import cn.lihongjie.coal.excelGenerator.dto.ExcelGeneratorDto;
import cn.lihongjie.coal.excelGenerator.dto.UpdateExcelGeneratorDto;
import cn.lihongjie.coal.excelGenerator.entity.ExcelGeneratorEntity;

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 ExcelGeneratorMapper
        extends BaseMapper<
                ExcelGeneratorEntity,
                ExcelGeneratorDto,
                CreateExcelGeneratorDto,
                UpdateExcelGeneratorDto> {}
