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;
|
package fr.romanet.vj.apps.myweather.bo;
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
|
import androidx.annotation.Nullable;
|
||||||
import androidx.room.Entity;
|
import androidx.room.Entity;
|
||||||
import androidx.room.PrimaryKey;
|
import androidx.room.PrimaryKey;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
@ -39,6 +40,16 @@ final public class City implements Serializable
|
|||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public String nameCity;
|
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
|
* Constructor of the city class
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user