mirror of https://github.com/ThmmyNoLife/mTHMMY
oogee
6 years ago
7 changed files with 113 additions and 69 deletions
@ -0,0 +1,53 @@ |
|||
package gr.thmmy.mthmmy.model; |
|||
|
|||
import java.util.Date; |
|||
|
|||
public class RecentItem { |
|||
private int boardId, postId, topicId, posterId; |
|||
private String boardTitle, topicTitle, poster; |
|||
private Date timestamp; |
|||
|
|||
public RecentItem(int boardId, String boardTitle, int postId, String poster, int posterId, int timestamp, int topicId, |
|||
String topicTitle) { |
|||
this.boardId = boardId; |
|||
this.postId = postId; |
|||
this.poster = poster; |
|||
this.posterId = posterId; |
|||
this.topicId = topicId; |
|||
this.boardTitle = boardTitle; |
|||
this.topicTitle = topicTitle; |
|||
this.timestamp = new Date(timestamp); |
|||
} |
|||
|
|||
public Date getTimestamp() { |
|||
return timestamp; |
|||
} |
|||
|
|||
public int getBoardId() { |
|||
return boardId; |
|||
} |
|||
|
|||
public int getPosterId() { |
|||
return posterId; |
|||
} |
|||
|
|||
public int getPostId() { |
|||
return postId; |
|||
} |
|||
|
|||
public int getTopicId() { |
|||
return topicId; |
|||
} |
|||
|
|||
public String getBoardTitle() { |
|||
return boardTitle; |
|||
} |
|||
|
|||
public String getPoster() { |
|||
return poster; |
|||
} |
|||
|
|||
public String getTopicTitle() { |
|||
return topicTitle; |
|||
} |
|||
} |
@ -1,6 +1,6 @@ |
|||
#Fri Sep 28 13:21:54 EEST 2018 |
|||
#Sat Mar 02 17:05:57 EET 2019 |
|||
distributionBase=GRADLE_USER_HOME |
|||
distributionPath=wrapper/dists |
|||
zipStoreBase=GRADLE_USER_HOME |
|||
zipStorePath=wrapper/dists |
|||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip |
|||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip |
|||
|
Loading…
Reference in new issue