java.lang.Object
info.ejava.examples.db.mongo.books.bo.Book

@CompoundIndex(def="{\'author\':1, \'published\':-1}", unique=true, background=false, sparse=false) public class Book extends Object
  • Field Details

    • id

      private String id
    • title

      @Field(name="title") private String title
    • author

      private String author
    • published

      private LocalDate published
  • Constructor Details

    • Book

      public Book()