diff options
author | desperateCoder <echotodevnull@gmail.com> | 2018-12-27 23:24:26 +0300 |
---|---|---|
committer | desperateCoder <echotodevnull@gmail.com> | 2018-12-27 23:24:26 +0300 |
commit | bdcf998cb12e1137eb2f4124efc905a2d72143fe (patch) | |
tree | 70d5ae957d8198b47175a213fb63eda357606d89 /app/src/main/java/it/niedermann/nextcloud/deck/model/full/FullCard.java | |
parent | 42d13b1ad2cea5dde78c44ef2f50ccc724d31118 (diff) |
Sync WIP
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/model/full/FullCard.java')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/model/full/FullCard.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/model/full/FullCard.java b/app/src/main/java/it/niedermann/nextcloud/deck/model/full/FullCard.java index 80a336abb..57b1b7c85 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/model/full/FullCard.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/model/full/FullCard.java @@ -1,6 +1,7 @@ package it.niedermann.nextcloud.deck.model.full; import android.arch.persistence.room.Embedded; +import android.arch.persistence.room.Ignore; import android.arch.persistence.room.Relation; import java.util.ArrayList; @@ -9,8 +10,9 @@ import java.util.List; import it.niedermann.nextcloud.deck.model.Card; import it.niedermann.nextcloud.deck.model.Label; import it.niedermann.nextcloud.deck.model.User; +import it.niedermann.nextcloud.deck.model.interfaces.IRemoteEntity; -public class FullCard { +public class FullCard implements IRemoteEntity { @Embedded public Card card; @@ -56,4 +58,10 @@ public class FullCard { user.add(owner); this.owner = user; } + + @Ignore + @Override + public IRemoteEntity getEntity() { + return card; + } } |