blob: 7494769b61ca0267c1586efec48b8e693ff23204 (
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
package net.sourceforge.subsonic.domain;
import java.util.Date;
/**
* A collection of media files that is shared with someone, and accessible via a direct URL.
*
* @author Sindre Mehus
* @version $Id$
*/
public class Share {
private int id;
private String name;
private String description;
private String username;
private Date created;
private Date expires;
private Date lastVisited;
private int visitCount;
public Share() {
}
public Share(int id, String name, String description, String username, Date created,
Date expires, Date lastVisited, int visitCount) {
this.id = id;
this.name = name;
this.description = description;
this.username = username;
this.created = created;
this.expires = expires;
this.lastVisited = lastVisited;
this.visitCount = visitCount;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public Date getCreated() {
return created;
}
public void setCreated(Date created) {
this.created = created;
}
public Date getExpires() {
return expires;
}
public void setExpires(Date expires) {
this.expires = expires;
}
public Date getLastVisited() {
return lastVisited;
}
public void setLastVisited(Date lastVisited) {
this.lastVisited = lastVisited;
}
public int getVisitCount() {
return visitCount;
}
public void setVisitCount(int visitCount) {
this.visitCount = visitCount;
}
}
|