|  |  |  | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voSe.VoClient; | 
|---|
|  |  |  | import org.mapstruct.Mapper; | 
|---|
|  |  |  | import org.mapstruct.Mapping; | 
|---|
|  |  |  | import org.mapstruct.ReportingPolicy; | 
|---|
|  |  |  | import org.mapstruct.factory.Mappers; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @Description | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Mapper | 
|---|
|  |  |  | @Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE) | 
|---|
|  |  |  | public interface SeClientToVoClient { | 
|---|
|  |  |  | SeClientToVoClient INSTANCT = Mappers.getMapper(SeClientToVoClient.class); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | //@Mapping(target = "cardCount", source = "cardCount") | 
|---|
|  |  |  | @Mapping(target = "address", source = "address") | 
|---|
|  |  |  | @Mapping(target = "operateDt", source = "operatedt") | 
|---|
|  |  |  | @Mapping(target = "waterTypeId", source = "typeid") | 
|---|
|  |  |  | @Mapping(target = "typeId", source = "typeid") | 
|---|
|  |  |  | VoClient po2vo(SeClient po); | 
|---|
|  |  |  | } | 
|---|