Skip to content

Instantly share code, notes, and snippets.

@Raouf25
Created August 10, 2020 00:11
Show Gist options
  • Save Raouf25/3d4a4442a6972452ead00248d2d1e7a9 to your computer and use it in GitHub Desktop.
Save Raouf25/3d4a4442a6972452ead00248d2d1e7a9 to your computer and use it in GitHub Desktop.
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