Skip to content

Commit 0e2600f

Browse files
committed
Update Student.java
1 parent f018118 commit 0e2600f

File tree

1 file changed

+4
-4
lines changed
  • SpringBootProjectDir/src/main/java/xdvrx1_CRUDProject/model

1 file changed

+4
-4
lines changed

SpringBootProjectDir/src/main/java/xdvrx1_CRUDProject/model/Student.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
public class Student {
1010
private Long id;
1111
private String name;
12-
private float roboticsGrade;
12+
private String roboticsGrade;
1313

1414
protected Student() {
1515
}
1616

17-
protected Student(Long id, float roboticsGrade) {
17+
protected Student(Long id, String roboticsGrade) {
1818
super();
1919
this.id = id;
2020
this.name = name;
@@ -39,11 +39,11 @@ public void setName(String name) {
3939
this.name = name;
4040
}
4141

42-
public float getRoboticsGrade() {
42+
public String getRoboticsGrade() {
4343
return roboticsGrade;
4444
}
4545

46-
public void setRoboticsGrade(float roboticsGrade) {
46+
public void setRoboticsGrade(String roboticsGrade) {
4747
this.roboticsGrade = roboticsGrade;
4848
}
4949

0 commit comments

Comments
 (0)