Annotation Interface Document


@Documented @Target(TYPE) @Retention(RUNTIME) @Indexed public @interface Document
Annotation for a class that represents a Firestore Document.
Since:
1.2
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The collection name of the Document in Firestore, which can differ from the name of the class which it annotates.
  • Element Details

    • collectionName

      String collectionName
      The collection name of the Document in Firestore, which can differ from the name of the class which it annotates.
      Returns:
      The Collection name of the Document
      Default:
      ""