content: package com.bookstore.entity;
  
  import javax.persistence.Entity;
  import javax.persistence.FetchType;
  import javax.persistence.GeneratedValue;
  import javax.persistence.GenerationType;
  import javax.persistence.Id;
  import javax.persistence.ManyToOne;
  import java.io.Serializable;
  
  @Entity
  public class Modification implements Serializable {
      private static final long serialVersionUID = 1L;
  
      @Id
      @GeneratedValue(strategy = GenerationType.IDENTITY)
      private Long id;
  
      private String description;
      private String modification;
  
      @ManyToOne(fetch = FetchType.LAZY)
      private Chapter chapter;
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public String getDescription() {
          return description;
      }
  
      public void setDescription(String description) {
          this.description = description;
      }
  
      public String getModification() {
          return modification;
      }
  
      public void setModification(String modification) {
          this.modification = modification;
      }
  
      public Chapter getChapter() {
          return chapter;
      }
  
      public void setChapter(Chapter chapter) {
          this.chapter = chapter;
      }
  }