code: void writeRootBean() throws IOException {
  
      gatherPropertyDetails();
  
      if (isEntity()) {
        writer = new Append(createFileWriter());
  
        writePackage();
        writeImports();
        writeClass();
        writeAlias();
        writeFields();
        writeConstructors();
        writeStaticAliasClass();
        writeClassEnd();
  
        writer.close();
      }
    }
docs: Write the type query bean (root bean).