docs: private LogRecordDO modelToDo(LogRecord entityObj) {
  
          LogRecordDO logRecordDo = new LogRecordDO();
          try {
  
              if (entityObj.getPipeline() != null && entityObj.getPipeline().getId() > 0) {
                  Channel channel = channelService.findByPipelineId(entityObj.getPipeline().getId());
                  logRecordDo.setChannelId(channel.getId());
                  logRecordDo.setPipelineId(entityObj.getPipeline().getId());
              } else {
                  logRecordDo.setChannelId(-1l);
                  logRecordDo.setPipelineId(-1l);
              }
  
              logRecordDo.setNid(entityObj.getNid());
              logRecordDo.setTitle(entityObj.getTitle());
              String message = entityObj.getMessage();
              if (message != null && message.length() > 65535 / 3) {
                  message = message.substring(0, 65535 / 3);
              }
              logRecordDo.setMessage(message);
              logRecordDo.setGmtCreate(entityObj.getGmtCreate());
              logRecordDo.setGmtModified(entityObj.getGmtModified());
  
          } catch (Exception e) {
              logger.error("ERROR ## has an error where write log to db");
              throw new ManagerException(e);
          }
          return logRecordDo;
      }