mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-21 20:19:23 +01:00
Remove id form columns
This commit is contained in:
parent
14f481175b
commit
bbec058a6a
1 changed files with 8 additions and 8 deletions
|
@ -7,8 +7,7 @@ import androidx.annotation.NonNull;
|
|||
@Entity(tableName = "medics")
|
||||
public class Medic {
|
||||
@PrimaryKey
|
||||
@NonNull private final Integer id;
|
||||
private String cis;
|
||||
@NonNull private String cis;
|
||||
private String cip13;
|
||||
private String name;
|
||||
private String administration_mode;
|
||||
|
@ -19,9 +18,10 @@ public class Medic {
|
|||
private Integer alert;
|
||||
private Long last_update;
|
||||
|
||||
public Medic(@NonNull Integer id) {
|
||||
|
||||
/* public Medic(@NonNull Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
}*/
|
||||
|
||||
public void setCis(String cis)
|
||||
{
|
||||
|
@ -65,12 +65,12 @@ public void setLast_update(Long last_update) {
|
|||
this.last_update = last_update;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
Integer getId() {
|
||||
//@NonNull
|
||||
/*public Integer getId() {
|
||||
return this.id;
|
||||
}
|
||||
}*/
|
||||
|
||||
String getCis() {
|
||||
public String getCis() {
|
||||
return this.cis;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue