Skip to content
Snippets Groups Projects
Commit 759789d8 authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

renamed app.ratingcount and app.totalrating + change type of app.description...

renamed app.ratingcount and app.totalrating + change type of app.description and app.image from varchar to string
parent ff321697
No related branches found
No related tags found
No related merge requests found
......@@ -18,19 +18,32 @@ public class App {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE)
private Integer id;
private String name;
@Column(columnDefinition = "text")
private String description;
private String author;
private String email;
private String category;
private String link;
@Column(columnDefinition = "text")
private String image;
private Integer ratings;
private Integer ratings_count;
private Integer totalRating;
private Integer ratingCount;
public App() {
}
public Integer getId() {
return id;
}
......@@ -39,6 +52,7 @@ public class App {
this.id = id;
}
public String getName() {
return name;
}
......@@ -47,6 +61,7 @@ public class App {
this.name = name;
}
public String getDescription() {
return description;
}
......@@ -55,6 +70,7 @@ public class App {
this.description = description;
}
public String getAuthor() {
return author;
}
......@@ -63,6 +79,7 @@ public class App {
this.author = author;
}
public String getEmail() {
return email;
}
......@@ -71,6 +88,7 @@ public class App {
this.email = email;
}
public String getCategory() {
return category;
}
......@@ -79,6 +97,7 @@ public class App {
this.category = category;
}
public String getLink() {
return link;
}
......@@ -87,6 +106,7 @@ public class App {
this.link = link;
}
public String getImage() {
return image;
}
......@@ -95,19 +115,21 @@ public class App {
this.image = image;
}
public Integer getRatings() {
return ratings;
public Integer getTotalRating() {
return totalRating;
}
public void setRatings(Integer ratings) {
this.ratings = ratings;
public void setTotalRating(Integer totalRating) {
this.totalRating = totalRating;
}
public Integer getRatings_count() {
return ratings_count;
public Integer getRatingCount() {
return ratingCount;
}
public void setRatings_count(Integer ratings_count) {
this.ratings_count = ratings_count;
public void setRatingCount(Integer ratingCount) {
this.ratingCount = ratingCount;
}
}
db @ 3c5f7840
Subproject commit f06de881c215e1f1b75be2ba49ca3804907d33f9
Subproject commit 3c5f7840c3cce799c818ecc8cd48a7a47e37a5f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment