Created
August 10, 2020 00:11
-
-
Save Raouf25/3d4a4442a6972452ead00248d2d1e7a9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rest.api.covid19.domain; | |
import com.fasterxml.jackson.annotation.JsonInclude; | |
import com.fasterxml.jackson.annotation.JsonProperty; | |
import lombok.Data; | |
@Data | |
@JsonInclude(JsonInclude.Include.NON_NULL) | |
public class Country { | |
@JsonProperty("Country") | |
private String countryName; | |
@JsonProperty("CountryCode") | |
private String countryCode; | |
@JsonProperty("Slug") | |
private String slug; | |
@JsonProperty("NewConfirmed") | |
private Integer newConfirmed; | |
@JsonProperty("TotalConfirmed") | |
private Integer totalConfirmed; | |
@JsonProperty("NewDeaths") | |
private Integer newDeaths; | |
@JsonProperty("TotalDeaths") | |
private Integer totalDeaths; | |
@JsonProperty("NewRecovered") | |
private Integer newRecovered; | |
@JsonProperty("TotalRecovered") | |
private Integer totalRecovered; | |
@JsonProperty("Date") | |
private String date; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment