我们在MapStruct中使用不可变表,在将实体转换为数据时遇到了问题。@Immutable Long getCount();
} mapper类,问题是完全相同的 Error 1: No implementation was created for ProjectMapper due to having a problem in the erroneous我检查了不可变映射结构<e
我希望在类的层次结构中的许多方法上使用mapstruct,但我需要一些较高级别的抽象方法不会被mapstruct自动映射,因为它们将在子类中有完整的实现。有没有我在mapstruct文档中遗漏的注释?to create maps for in this class
//declaration I want mapstr
是否有可能用自定义注释对MapStruct生成的类进行注释?目前我正在使用MapStruct,componentModel定义为"spring",如下所示:public interfaceMyMapper {}@Component
public class MyMapperImpl implements MyMap