Skip to content

Commit f80b4cf

Browse files
authored
Merge pull request eugenp#12207 from MWest2020/patch-1
Update User.java
2 parents cebe0b1 + 82574a4 commit f80b4cf

File tree

1 file changed

+5
-2
lines changed
  • libraries-http/src/main/java/com/baeldung/javalin/User

1 file changed

+5
-2
lines changed

libraries-http/src/main/java/com/baeldung/javalin/User/User.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
package com.baeldung.javalin.User;
2+
import com.fasterxml.jackson.annotation.JsonProperty;
23

34
public class User {
4-
public final int id;
5-
public final String name;
5+
public int id;
6+
public String name;
7+
8+
public User(){}
69

710
public User(int id, String name) {
811
this.id = id;

0 commit comments

Comments
 (0)