source: Git/src/main/java/com/wediscussmovies/project/ajaxmodels/Grade.java@ 5b447b0

main
Last change on this file since 5b447b0 was 5b447b0, checked in by Test <matonikolov77@…>, 2 years ago

Adding models and resources

  • Property mode set to 100644
File size: 288 bytes
Line 
1package com.wediscussmovies.project.ajaxmodels;
2
3import lombok.Data;
4
5@Data
6public class Grade {
7 private Integer rating;
8 private String reason;
9
10 public Grade(String rating, String reason) {
11 this.rating = Integer.parseInt(rating);
12 this.reason = reason;
13 }
14}
Note: See TracBrowser for help on using the repository browser.