docs: private void processEntityClass(TopLevelClass topLevelClass, IntrospectedTable introspectedTable) {
          //引入JPA注解
          topLevelClass.addImportedType("javax.persistence.*");
          //lombok扩展开始
          //如果需要Data，引入包，代码增加注解
          if (this.needsData) {
              topLevelClass.addImportedType("lombok.Data");
              topLevelClass.addAnnotation("@Data");
          }
          //如果需要Getter，引入包，代码增加注解
          if (this.needsGetter) {
              topLevelClass.addImportedType("lombok.Getter");
              topLevelClass.addAnnotation("@Getter");
          }
          //如果需要Setter，引入包，代码增加注解
          if (this.needsSetter) {
              topLevelClass.addImportedType("lombok.Setter");
              topLevelClass.addAnnotation("@Setter");
          }
          //如果需要ToString，引入包，代码增加注解
          if (this.needsToString) {
              topLevelClass.addImportedType("lombok.ToString");
              topLevelClass.addAnnotation("@ToString");
          }
          //如果需要Getter，引入包，代码增加注解
          if (this.needsAccessors) {
              topLevelClass.addImportedType("lombok.experimental.Accessors");
              topLevelClass.addAnnotation("@Accessors(chain = true)");
          }
          //如果需要Getter，引入包，代码增加注解
          if (this.needsEqualsAndHashCode) {
              topLevelClass.addImportedType("lombok.EqualsAndHashCode");
              topLevelClass.addAnnotation("@EqualsAndHashCode");
          }
          //lombok扩展结束
          // region swagger扩展
          if (this.needsSwagger) {
              //导包
              topLevelClass.addImportedType("io.swagger.annotations.ApiModel");
              topLevelClass.addImportedType("io.swagger.annotations.ApiModelProperty");
              //增加注解(去除注释中的转换符)
              String remarks = introspectedTable.getRemarks();
              if (remarks == null) {
                  remarks = "";
              }
              topLevelClass.addAnnotation("@ApiModel(\"" + remarks.replaceAll("\r", "").replaceAll("\n", "") + "\")");
          }
          // endregion swagger扩展
          String tableName = introspectedTable.getFullyQualifiedTableNameAtRuntime();
          //如果包含空格，或者需要分隔符，需要完善
          if (StringUtility.stringContainsSpace(tableName)) {
              tableName = context.getBeginningDelimiter()
                      + tableName
                      + context.getEndingDelimiter();
          }
          //是否忽略大小写，对于区分大小写的数据库，会有用
          if (caseSensitive && !topLevelClass.getType().getShortName().equals(tableName)) {
              topLevelClass.addAnnotation("@Table(name = \"" + getDelimiterName(tableName) + "\")");
          } else if (!topLevelClass.getType().getShortName().equalsIgnoreCase(tableName)) {
              topLevelClass.addAnnotation("@Table(name = \"" + getDelimiterName(tableName) + "\")");
          } else if (StringUtility.stringHasValue(schema)
                  || StringUtility.stringHasValue(beginningDelimiter)
                  || StringUtility.stringHasValue(endingDelimiter)) {
              topLevelClass.addAnnotation("@Table(name = \"" + getDelimiterName(tableName) + "\")");
          } else if (forceAnnotation) {
              topLevelClass.addAnnotation("@Table(name = \"" + getDelimiterName(tableName) + "\")");
          }
          if (generateColumnConsts) {
              for (IntrospectedColumn introspectedColumn : introspectedTable.getAllColumns()) {
                  Field field = new Field();
                  field.setVisibility(JavaVisibility.PUBLIC);
                  field.setStatic(true);
                  field.setFinal(true);
                  field.setName(introspectedColumn.getActualColumnName().toUpperCase()); //$NON-NLS-1$
                  field.setType(new FullyQualifiedJavaType(String.class.getName())); //$NON-NLS-1$
                  field.setInitializationString("\"" + introspectedColumn.getJavaProperty() + "\"");
                  context.getCommentGenerator().addClassComment(topLevelClass, introspectedTable);
                  topLevelClass.addField(field);
                  //增加字段名常量,用于pageHelper
                  Field columnField = new Field();
                  columnField.setVisibility(JavaVisibility.PUBLIC);
                  columnField.setStatic(true);
                  columnField.setFinal(true);
                  columnField.setName("DB_" + introspectedColumn.getActualColumnName().toUpperCase()); //$NON-NLS-1$
                  columnField.setType(new FullyQualifiedJavaType(String.class.getName())); //$NON-NLS-1$
                  columnField.setInitializationString("\"" + introspectedColumn.getActualColumnName() + "\"");
                  topLevelClass.addField(columnField);
              }
          }
          if (generateDefaultInstanceMethod) {
              Method defaultMethod = new Method();
              defaultMethod.setStatic(true);
              defaultMethod.setName("defaultInstance");
              defaultMethod.setVisibility(JavaVisibility.PUBLIC);
              defaultMethod.setReturnType(topLevelClass.getType());
              defaultMethod.addBodyLine(String.format("%s instance = new %s();", topLevelClass.getType().getShortName(), topLevelClass.getType().getShortName()));
              for (IntrospectedColumn introspectedColumn : introspectedTable.getAllColumns()) {
                  String shortName = introspectedColumn.getFullyQualifiedJavaType().getShortName();
                  List<String> supportType = Arrays.asList("Byte", "Short", "Character", "Integer", "Long", "Float", "Double", "String", "BigDecimal", "BigInteger");
                  if (!supportType.contains(shortName)) {
                      continue;
                  }
                  if (introspectedColumn.getDefaultValue() != null) {
                      String defaultValue = introspectedColumn.getDefaultValue();
                      //去除前后'',如 '123456' -> 123456
                      if (defaultValue.startsWith("'") && defaultValue.endsWith("'")) {
                          if (defaultValue.length() == 2) {
                              defaultValue = "";
                          } else {
                              defaultValue = defaultValue.substring(1, defaultValue.length() - 1);
                          }
                      }
                      //暂不支持时间类型默认值识别,不同数据库表达式不同
                      if ("Boolean".equals(shortName)) {
                          if ("0".equals(defaultValue)) {
                              defaultValue = "false";
                          } else if ("1".equals(defaultValue)) {
                              defaultValue = "true";
                          }
                      }
                      //通过 new 方法转换
                      defaultMethod.addBodyLine(String.format("instance.%s = new %s(\"%s\");", introspectedColumn.getJavaProperty(), shortName, defaultValue));
                  }
  
              }
              defaultMethod.addBodyLine("return instance;");
              topLevelClass.addMethod(defaultMethod);
          }
      }