`Fund.java`
`01 package trail.entity.beans; 02 03 import javax.persistence.*; 04 import java.io.Serializable; 05 06 @Entity 07 @Table(name = "fund") 08 public class Fund implements Serializable { 09 private int id; 10 private String name; 11 private double growthrate; 12 13 public Fund () { } 14 15 public Fund (String name, double growthrate) { 16 this.name = name; 17 this.growthrate = growthrate; 18 } 19 20 @Id 21 @GeneratedValue 22 public int getId () { 23 return id; 24 } 25 26 public void setId (int id) { 27 this.id = id; 28 } 29 30 public String getName () { 31 return name; 32 } 33 34 public void setName (String name) { 35 this.name = name; 36 } 37 38 public double getGrowthrate () { 39 return growthrate; 40 } 41 42 public void setGrowthrate (double growthrate) { 43 this.growthrate = growthrate; 44 } 45 46 }`