package cn.lihongjie.coal.saleOrder.mapper;

import cn.lihongjie.coal.base.mapper.BaseMapper;
import cn.lihongjie.coal.saleOrder.dto.CreateSaleOrderDto;
import cn.lihongjie.coal.saleOrder.dto.SaleOrderDto;
import cn.lihongjie.coal.saleOrder.dto.UpdateSaleOrderDto;
import cn.lihongjie.coal.saleOrder.entity.SaleOrderEntity;

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 SaleOrderMapper
        extends BaseMapper<
        SaleOrderEntity,
        SaleOrderDto,
        CreateSaleOrderDto,
        UpdateSaleOrderDto> {}
