package cn.lihongjie.coal.meter.mapper;

import cn.lihongjie.coal.base.mapper.BaseMapper;
import cn.lihongjie.coal.meter.dto.CreateMeterDto;
import cn.lihongjie.coal.meter.dto.MeterDto;
import cn.lihongjie.coal.meter.dto.UpdateMeterDto;
import cn.lihongjie.coal.meter.entity.MeterEntity;

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 MeterMapper
        extends BaseMapper<MeterEntity, MeterDto, CreateMeterDto, UpdateMeterDto> {}
