package com.dy.pipIrrSell.client; 
 | 
  
 | 
import com.dy.pipIrrGlobal.pojoSe.SeClient; 
 | 
import com.dy.pipIrrGlobal.voSe.VoClient; 
 | 
import org.mapstruct.Mapper; 
 | 
import org.mapstruct.Mapping; 
 | 
import org.mapstruct.factory.Mappers; 
 | 
  
 | 
/** 
 | 
 * @author ZhuBaoMin 
 | 
 * @date 2023-12-25 15:54 
 | 
 * @LastEditTime 2023-12-25 15:54 
 | 
 * @Description 
 | 
 */ 
 | 
  
 | 
@Mapper 
 | 
public interface SeClientToVoClient { 
 | 
    SeClientToVoClient INSTANCT = Mappers.getMapper(SeClientToVoClient.class); 
 | 
  
 | 
    @Mapping(target = "name", source = "name") 
 | 
    @Mapping(target = "clientNum", source = "clientnum") 
 | 
    @Mapping(target = "phone", source = "phone") 
 | 
    @Mapping(target = "idcard", source = "idcard") 
 | 
    //@Mapping(target = "cardCount", source = "cardCount") 
 | 
    @Mapping(target = "address", source = "address") 
 | 
    @Mapping(target = "operateDt", source = "operatedt") 
 | 
    VoClient po2vo(SeClient po); 
 | 
} 
 |