source: Git/Sources/src/main/java/com/wediscussmovies/project/ajaxmodels/Grade.java@ 980eeda

main
Last change on this file since 980eeda was 980eeda, checked in by Test <matonikolov77@…>, 22 months ago

Restructuring project

  • 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.