mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
Toxiテーブル作成
This commit is contained in:
parent
3f84b1a3e2
commit
57ec698b78
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user