Class UserIdToThinMapper

java.lang.Object
ma.glasnost.orika.CustomConverter<UserId,UserInfoThin>
com.sankcrm.erp.auth.infrastructure.mapper.UserIdToThinMapper
All Implemented Interfaces:
ma.glasnost.orika.Converter<UserId,UserInfoThin>, ma.glasnost.orika.MappedTypePair<UserId,UserInfoThin>

@Component public class UserIdToThinMapper extends ma.glasnost.orika.CustomConverter<UserId,UserInfoThin>
类型转换
Since:
2.1.4
Author:
zhsxin
create time:
2023/11/17 下午3:49
  • Field Summary

    Fields inherited from class ma.glasnost.orika.CustomConverter

    destinationType, mapperFacade, sourceType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(UserId userId, ma.glasnost.orika.metadata.Type<? extends UserInfoThin> type, ma.glasnost.orika.MappingContext mappingContext)
     

    Methods inherited from class ma.glasnost.orika.CustomConverter

    canConvert, equals, getAType, getBType, hashCode, setMapperFacade, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UserIdToThinMapper

      public UserIdToThinMapper()
  • Method Details

    • convert

      public UserInfoThin convert(UserId userId, ma.glasnost.orika.metadata.Type<? extends UserInfoThin> type, ma.glasnost.orika.MappingContext mappingContext)