Class SupplierIdToThinDtoMapper
java.lang.Object
ma.glasnost.orika.CustomConverter<SupplierId,SupplierThinDto>
com.sankcrm.erp.contract.infrastructure.sup.mapper.SupplierIdToThinDtoMapper
- All Implemented Interfaces:
ma.glasnost.orika.Converter<SupplierId,,SupplierThinDto> ma.glasnost.orika.MappedTypePair<SupplierId,SupplierThinDto>
@Component
public class SupplierIdToThinDtoMapper
extends ma.glasnost.orika.CustomConverter<SupplierId,SupplierThinDto>
类型转换
- Since:
- 1.0.0
- Author:
- zhsxin
-
Field Summary
Fields inherited from class ma.glasnost.orika.CustomConverter
destinationType, mapperFacade, sourceType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(SupplierId id, ma.glasnost.orika.metadata.Type<? extends SupplierThinDto> type, ma.glasnost.orika.MappingContext mappingContext) Methods inherited from class ma.glasnost.orika.CustomConverter
canConvert, equals, getAType, getBType, hashCode, setMapperFacade, toString
-
Constructor Details
-
SupplierIdToThinDtoMapper
public SupplierIdToThinDtoMapper()
-
-
Method Details
-
convert
public SupplierThinDto convert(SupplierId id, ma.glasnost.orika.metadata.Type<? extends SupplierThinDto> type, ma.glasnost.orika.MappingContext mappingContext)
-