Toxiテーブル作成

This commit is contained in:
ろむねこ 2024-01-25 15:40:30 +09:00
parent 3f84b1a3e2
commit 57ec698b78
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -0,0 +1,18 @@
package one.nem.lacerta.source.database.entity;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
@Entity(tableName = "toxi_document_tag")
public class ToxiDocumentTagEntity {
// 複合主キー
@PrimaryKey
@ColumnInfo(name = "document_id")
public String documentId; // ドキュメントID
@PrimaryKey
@ColumnInfo(name = "tag_id")
public String tagId; // タグID
}