content: package com.andrei.template.data.models;
  
  
  import java.util.Date;
  
  import io.objectbox.annotation.Entity;
  import io.objectbox.annotation.Generated;
  import io.objectbox.annotation.Id;
  import io.objectbox.annotation.apihint.Internal;
  
  @Entity
  public class Note {
  
    @Id
    private long id;
  
    private String text;
    private String comment;
    private Date date;
  
  
    @Generated(1759314840)
  @Internal
  /** This constructor was generated by ObjectBox and may change any time. */
  public Note(long id, String text, String comment, Date date) {
      this.id = id;
      this.text = text;
      this.comment = comment;
      this.date = date;
  }
  
  
  @Generated(1272611929)
  public Note() {
  }
  
  
  @Override public String toString() {
      return "Note{" +
          "id=" + id +
          ", text='" + text + '\'' +
          ", comment='" + comment + '\'' +
          ", date=" + date +
          '}';
    }
  
  
    public long getId() {
        return id;
    }
  
  
    public void setId(long id) {
        this.id = id;
    }
  
  
    public String getText() {
        return text;
    }
  
  
    public void setText(String text) {
        this.text = text;
    }
  
  
    public String getComment() {
        return comment;
    }
  
  
    public void setComment(String comment) {
        this.comment = comment;
    }
  
  
    public Date getDate() {
        return date;
    }
  
  
    public void setDate(Date date) {
        this.date = date;
    }
  }