content: package com.poupa.attestationdeplacement.db;
  
  import androidx.room.ColumnInfo;
  import androidx.room.Entity;
  import androidx.room.PrimaryKey;
  
  @Entity(tableName = "attestations")
  public class AttestationEntity {
  
      @PrimaryKey(autoGenerate = true)
      public int id;
  
      @ColumnInfo(name = "first_name")
      public String firstName;
  
      @ColumnInfo(name = "generation_date")
      public String generationDate;
  
      @ColumnInfo(name = "generation_time")
      public String generationTime;
  
      @ColumnInfo(name = "reason")
      public String reason;
  
      public AttestationEntity(String firstName, String generationDate, String generationTime, String reason) {
          this.firstName = firstName;
          this.generationDate = generationDate;
          this.generationTime = generationTime;
          this.reason = reason;
      }
  
      public int getId() {
          return id;
      }
  
      public void setId(int id) {
          this.id = id;
      }
  
      public String getFirstName() {
          return firstName;
      }
  
      public void setFirstName(String firstName) {
          this.firstName = firstName;
      }
  
      public String getGenerationDate() {
          return generationDate;
      }
  
      public void setGenerationDate(String generationDate) {
          this.generationDate = generationDate;
      }
  
      public String getGenerationTime() {
          return generationTime;
      }
  
      public void setGenerationTime(String generationTime) {
          this.generationTime = generationTime;
      }
  
      public String getReason() {
          return reason;
      }
  
      public void setReason(String reason) {
          this.reason = reason;
      }
  }
  