text: package com.vladmihalcea.flexypool.model;
  
  import javax.persistence.Entity;
  import javax.persistence.Id;
  
  /**
   * Book - Book
   *
   * @author Vlad Mihalcea
   */
  @Entity
  public class Book {
  
      @Id
      private Long id;
  
      private String name;
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  }
  