@@ -0,0 +1,1914 @@
+package com.KOIFish.FishStock.beans;%0A%0Aimport javax.persistence.Cacheable;%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.GeneratedValue;%0Aimport javax.persistence.GenerationType;%0Aimport javax.persistence.Id;%0Aimport javax.persistence.Table;%0A%0A%0A@Cacheable%0A@Entity%0A@Table(name=%22Fish_Companies%22)%0Apublic class FishStockCompany %7B%0A%09%0A%09@Id%0A%09@Column(name=%22CompanyId%22, nullable=false)%0A%09@GeneratedValue(strategy=GenerationType.AUTO)%0A%09private int companyId;%0A%09%0A%09@Column(name=%22Name%22, nullable=false, length=100)%0A%09private String companyName;%0A%09%0A%09@Column(name=%22Symbol%22, nullable=true, length=10)%0A%09private String symbol;%0A%09%0A%09@Column(name=%22TotalRating%22, nullable=true)%0A%09private int totalRating;%0A%09%0A%09@Column(name=%22TotalUsersRated%22, nullable=true)%0A%09private int totalUsersRated;%0A%09%0A%09public FishStockCompany()%7B%0A%09%09super();%0A%09%7D%0A%09%0A%09public FishStockCompany(String companyName, String symbol) %7B%0A%09%09super();%0A%09%09this.companyName = companyName;%0A%09%09this.symbol = symbol;%0A%09%7D%0A%0A%09public int getCompanyId() %7B%0A%09%09return companyId;%0A%09%7D%0A%09public void setCompanyId(int companyId) %7B%0A%09%09this.companyId = companyId;%0A%09%7D%0A%09public String getCompanyName() %7B%0A%09%09return companyName;%0A%09%7D%0A%09public void setCompanyName(String companyName) %7B%0A%09%09this.companyName = companyName;%0A%09%7D%0A%09public String getSymbol() %7B%0A%09%09return symbol;%0A%09%7D%0A%09public void setSymbol(String symbol) %7B%0A%09%09this.symbol = symbol;%0A%09%7D%0A%09public int getTotalRating() %7B%0A%09%09return totalRating;%0A%09%7D%0A%09public void setTotalRating(int totalRating) %7B%0A%09%09this.totalRating = totalRating;%0A%09%7D%0A%09public int getTotalUsersRated() %7B%0A%09%09return totalUsersRated;%0A%09%7D%0A%09public void setTotalUsersRating(int totalUsersRated) %7B%0A%09%09this.totalUsersRated = totalUsersRated;%0A%09%7D%0A%0A%09@Override%0A%09public String toString() %7B%0A%09%09return %22FishStockCompany %5BcompanyId=%22 + companyId + %22, companyName=%22 + companyName + %22, symbol=%22 + symbol%0A%09%09%09%09+ %22, totalRating=%22 + totalRating + %22, totalUsersRated=%22 + totalUsersRated + %22%5D%22;%0A%09%7D%0A%09%0A%09%0A%7D%0A

Create bean that maps to Company table in database