package cn.ysk.cashier.mapper.product;

import cn.ysk.cashier.base.BaseMapper;
import cn.ysk.cashier.pojo.product.TbProductStockDetail;
import cn.ysk.cashier.dto.product.TbProductStockDetailDto;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.ReportingPolicy;

/**
* @website https://eladmin.vip
* @author lyf
* @date 2024-01-19
**/
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface TbProductStockDetailMapper extends BaseMapper<TbProductStockDetailDto, TbProductStockDetail> {



    @Mapping(target = "orderNo", ignore = true)
    TbProductStockDetailDto toDto(TbProductStockDetail entity);
}