Instantly share code, notes, and snippets.

Embed
What would you like to do?
class RequestJson {
protected String firstName;
protected String lastName;
// Getters and setters omitted
}
class ResponseJson extends RequestJson {
protected Integer userId;
// Getters and setters omitted
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment