package trail.injection;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "INJECTIONREC")
public class InjectionRec implements Serializable {

  private int id;
  private long sent;
  private long processed;
  private float result;

  public InjectionRec () { }

  @Id
  @GeneratedValue
  public int getId () {
    return id;
  }
  public void setId (int id) {
    this.id = id;
  }

  public long getSent () {
    return sent;
  }
  public void setSent (long sent) {
    this.sent = sent;
  }

  public long getProcessed () {
    return processed;
  }
  public void setProcessed (long processed) {
    this.processed = processed;
  }

  public float getResult () {
    return result;
  }
  public void setResult (float result) {
    this.result = result;
  }

}
