package cn.lihongjie.coal.notice.mapper;

import cn.lihongjie.coal.base.mapper.BaseMapper;
import cn.lihongjie.coal.notice.dto.CreateNoticeDto;
import cn.lihongjie.coal.notice.dto.NoticeDto;
import cn.lihongjie.coal.notice.dto.UpdateNoticeDto;
import cn.lihongjie.coal.notice.entity.NoticeEntity;

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 NoticeMapper extends BaseMapper<NoticeEntity, NoticeDto, CreateNoticeDto, UpdateNoticeDto> {
}
