Initial stub migrate to androidx room

This commit is contained in:
tarsin committed 2022-08-03 21:59:55 +08:00
1 parent 19891e6768
commit 9cb22b6e17
27 files changed
+988 -2786

No files matched your search

@@ -1,33 +1,18 @@
package com.hippo.ehviewer.dao;
import org.greenrobot.greendao.annotation.*;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit.
/**
* Entity mapped to table "DOWNLOAD_DIRNAME".
*/
@Entity(nameInDb = "DOWNLOAD_DIRNAME")
@Entity(tableName = "DOWNLOAD_DIRNAME")
public class DownloadDirname {
@Id
@PrimaryKey
@ColumnInfo(name = "GID")
private long gid;
@ColumnInfo(name = "DIRNAME")
private String dirname;
@Generated
public DownloadDirname() {
}
public DownloadDirname(long gid) {
this.gid = gid;
}
@Generated
public DownloadDirname(long gid, String dirname) {
this.gid = gid;
this.dirname = dirname;
}
public long getGid() {
return gid;
}