Added weather attributes to City table

This commit is contained in:
valentin 2020-11-15 18:10:51 +01:00
parent 4b5415895b
commit e6f0dc3029

View File

@ -1,6 +1,7 @@
package fr.romanet.vj.apps.myweather.bo;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import java.io.Serializable;
@ -39,6 +40,16 @@ final public class City implements Serializable
*/
@NonNull
public String nameCity;
@Nullable
public String w_icon;
@Nullable
public String w_temp;
@Nullable
public String w_feelsliketemp;
@Nullable
public String w_mintemp;
@Nullable
public String w_maxtemp;
/**
* Constructor of the city class