Added weather attributes to City table
This commit is contained in:
parent
4b5415895b
commit
e6f0dc3029
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user