| | |
| | | import com.dy.pipIrrGlobal.pojoSe.SeClient; |
| | | 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 DtoClientToSeClient { |
| | | DtoClientToSeClient INSTANCT = Mappers.getMapper(DtoClientToSeClient.class); |
| | | |
| | | @Mapping(target = "villageid", source = "villageid") |
| | | @Mapping(target = "blockid", source = "blockid") |
| | | @Mapping(target = "divideid", source = "divideid") |
| | | @Mapping(target = "villageid", source = "villageId") |
| | | @Mapping(target = "blockid", source = "blockId") |
| | | @Mapping(target = "divideid", source = "divideId") |
| | | @Mapping(target = "name", source = "name") |
| | | @Mapping(target = "phone", source = "phone") |
| | | @Mapping(target = "idcard", source = "idcard") |
| | | @Mapping(target = "idcard", source = "idCard") |
| | | @Mapping(target = "area", source = "area") |
| | | @Mapping(target = "typeid", source = "typeid") |
| | | @Mapping(target = "typeid", source = "typeId") |
| | | @Mapping(target = "address", source = "address") |
| | | @Mapping(target = "remarks", source = "remarks") |
| | | @Mapping(target = "operator", source = "operator") |