new splashscreen, some cleanup
This commit is contained in:
parent
8e92a32c01
commit
0fd25ff124
11 changed files with 4 additions and 59 deletions
|
@ -1,47 +0,0 @@
|
|||
package com.keylesspalace.tusky.db;
|
||||
|
||||
import android.arch.persistence.room.ColumnInfo;
|
||||
import android.arch.persistence.room.Entity;
|
||||
import android.arch.persistence.room.ForeignKey;
|
||||
import android.arch.persistence.room.PrimaryKey;
|
||||
|
||||
/**
|
||||
* Media model
|
||||
*/
|
||||
|
||||
@Entity(foreignKeys = @ForeignKey(entity = TootEntity.class,
|
||||
parentColumns = "uid",
|
||||
childColumns = "toot_id"))
|
||||
public class MediaEntity {
|
||||
@ColumnInfo(name = "toot_id")
|
||||
private int toot_id;
|
||||
@PrimaryKey(autoGenerate = true)
|
||||
private int uid;
|
||||
@ColumnInfo(name = "url")
|
||||
private String url;
|
||||
|
||||
// getter setter
|
||||
public int getToot_id() {
|
||||
return toot_id;
|
||||
}
|
||||
|
||||
public void setToot_id(int toot_id) {
|
||||
this.toot_id = toot_id;
|
||||
}
|
||||
|
||||
public int getUid() {
|
||||
return uid;
|
||||
}
|
||||
|
||||
public void setUid(int uid) {
|
||||
this.uid = uid;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue