diff options
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/model/Board.java')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/model/Board.java | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/model/Board.java b/app/src/main/java/it/niedermann/nextcloud/deck/model/Board.java new file mode 100644 index 000000000..5b1ce9411 --- /dev/null +++ b/app/src/main/java/it/niedermann/nextcloud/deck/model/Board.java @@ -0,0 +1,56 @@ +package it.niedermann.nextcloud.deck.model; + +import it.niedermann.nextcloud.deck.model.DBStatus; +import it.niedermann.nextcloud.deck.model.RemoteEntity; + +public class Board extends RemoteEntity { + private long accountId; + private String title; + private DBStatus status = DBStatus.UP_TO_DATE; + + public Board(long accountId, long remoteId, String title) { + super(remoteId); + this.accountId = accountId; + this.title = title; + } + + public Board(long accountId, long id, String title, DBStatus status) { + super(); + this.accountId = accountId; + this.id = id; + this.title = title; + this.status = status; + } + + public long getRemoteId() { + return remoteId; + } + + public void setRemoteId(long remoteId) { + this.remoteId = remoteId; + } + + public long getAccountId() { + return accountId; + } + + public void setAccountId(long accountId) { + this.accountId = accountId; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public DBStatus getStatus() { + return status; + } + + public void setStatus(DBStatus status) { + this.status = status; + } +} |