|
@@ -0,0 +1,14 @@
|
|
|
|
|
+package com.zhixinghe1.ots.domain.converter;
|
|
|
|
|
+
|
|
|
|
|
+import com.zhixinghe1.ots.atomic.entity.Attachment;
|
|
|
|
|
+import com.zhixinghe1.ots.common.converter.mapstruct.BaseEntityConverter;
|
|
|
|
|
+import com.zhixinghe1.ots.domain.dto.AttachmentDto;
|
|
|
|
|
+import org.mapstruct.Mapper;
|
|
|
|
|
+import org.mapstruct.MappingConstants;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * 附件对象转换工具
|
|
|
|
|
+ */
|
|
|
|
|
+@Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
|
|
|
|
|
+public interface AttachmentConverter extends BaseEntityConverter<Attachment, AttachmentDto> {
|
|
|
|
|
+}
|