blob: 5b1ce941107b3a40286d3f8411ff15dc23f106c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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;
}
}
|