@@ -0,0 +1,1063 @@
+package cl.fatman.capital.fund;%0A%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.GeneratedValue;%0Aimport javax.persistence.Id;%0Aimport javax.persistence.Table;%0A%0Aimport org.hibernate.annotations.GenericGenerator;%0A%0Aimport java.time.LocalDate;%0A%0A@Entity%0A@Table( name = %22Rate%22 )%0Apublic class Rate %7B%0A%09%0A%09private int id;%0A%09private double value;%0A%09private LocalDate date;%0A%09%0A%09%0A%09public Rate(double value, LocalDate date) %7B%0A%09%09super();%0A%09%09this.value = value;%0A%09%09this.date = date;%0A%09%7D%0A%09%0A%09%0A%09public Rate() %7B%0A%09%09super();%0A%09%7D%0A%09%0A%09%0A%09@Id%0A%09@GeneratedValue(generator=%22increment%22)%0A%09@GenericGenerator(name=%22increment%22, strategy = %22increment%22)%0A%09@Column(name=%22ID%22)%0A%09public int getId() %7B%0A%09%09return id;%0A%09%7D%0A%09%0A%09%0A%09public void setId(int id) %7B%0A%09%09this.id = id;%0A%09%7D%0A%09%0A%09%0A%09@Column(name = %22VALUE%22)%0A%09public double getValue() %7B%0A%09%09return value;%0A%09%7D%0A%09%0A%09%0A%09public void setValue(double value) %7B%0A%09%09this.value = value;%0A%09%7D%0A%09%0A%09%0A%09@Column(name = %22DATE%22, unique = true)%0A%09public LocalDate getDate() %7B%0A%09%09return date;%0A%09%7D%0A%09%0A%09%0A%09public void setDate(LocalDate date) %7B%0A%09%09this.date = date;%0A%09%7D%0A%7D

Create the class rate to registry the value of a fund.