`InjectionRec.java`
`01 package trail.injection; 02 03 import javax.persistence.*; 04 import java.io.Serializable; 05 06 @Entity 07 @Table(name = "INJECTIONREC") 08 public class InjectionRec implements Serializable { 09 10 private int id; 11 private long sent; 12 private long processed; 13 private float result; 14 15 public InjectionRec () { } 16 17 @Id 18 @GeneratedValue 19 public int getId () { 20 return id; 21 } 22 public void setId (int id) { 23 this.id = id; 24 } 25 26 public long getSent () { 27 return sent; 28 } 29 public void setSent (long sent) { 30 this.sent = sent; 31 } 32 33 public long getProcessed () { 34 return processed; 35 } 36 public void setProcessed (long processed) { 37 this.processed = processed; 38 } 39 40 public float getResult () { 41 return result; 42 } 43 public void setResult (float result) { 44 this.result = result; 45 } 46 47 }`