package cn.lihongjie.coal.excelTemplate.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.excelTemplate.dto.CreateExcelTemplateDto;
import cn.lihongjie.coal.excelTemplate.dto.ExcelTemplateDto;
import cn.lihongjie.coal.excelTemplate.dto.UpdateExcelTemplateDto;
import cn.lihongjie.coal.excelTemplate.entity.ExcelTemplateEntity;

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 ExcelTemplateMapper
        extends BaseMapper<
                ExcelTemplateEntity,
                ExcelTemplateDto,
                CreateExcelTemplateDto,
                UpdateExcelTemplateDto> {}
