[BAEL-19673] - Move articles out of jackson part 1
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.baeldung.exceptions;
|
||||
|
||||
public class UserWithNoDefaultConstructor {
|
||||
|
||||
private int id;
|
||||
private String name;
|
||||
|
||||
public UserWithNoDefaultConstructor(final int id, final String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user