main
Last change
on this file since f25e8dd was 5b447b0, checked in by Test <matonikolov77@…>, 2 years ago |
Adding models and resources
|
-
Property mode
set to
100644
|
File size:
288 bytes
|
Rev | Line | |
---|
[5b447b0] | 1 | package com.wediscussmovies.project.ajaxmodels;
|
---|
| 2 |
|
---|
| 3 | import lombok.Data;
|
---|
| 4 |
|
---|
| 5 | @Data
|
---|
| 6 | public 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.