package cn.lihongjie.coal.enterprise.mapper;

import cn.lihongjie.coal.base.mapper.BaseMapper;
import cn.lihongjie.coal.enterprise.dto.CreateEnterpriseDto;
import cn.lihongjie.coal.enterprise.dto.EnterpriseDto;
import cn.lihongjie.coal.enterprise.dto.UpdateEnterpriseDto;
import cn.lihongjie.coal.enterprise.entity.EnterpriseEntity;

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

@Mapper(
        componentModel = org.mapstruct.MappingConstants.ComponentModel.SPRING,
        uses = {cn.lihongjie.coal.base.mapper.CommonMapper.class, cn.lihongjie.coal.base.mapper.CommonEntityMapper.class},
        mappingControl = DeepClone.class)
public interface EnterpriseMapper
        extends BaseMapper<
                EnterpriseEntity, EnterpriseDto, CreateEnterpriseDto, UpdateEnterpriseDto> {}
