view announcements, users by page number
This commit is contained in:
@@ -13,14 +13,20 @@ namespace StudentHouseDashboard
|
||||
private string title;
|
||||
private DateTime publishDate;
|
||||
|
||||
protected GenericMessage(User author, string description, string title, DateTime publishDate)
|
||||
protected GenericMessage(int id, User author, string description, string title, DateTime publishDate)
|
||||
{
|
||||
ID = id;
|
||||
Author = author;
|
||||
Description = description;
|
||||
Title = title;
|
||||
PublishDate = publishDate;
|
||||
}
|
||||
|
||||
public int ID
|
||||
{
|
||||
get; private set;
|
||||
}
|
||||
|
||||
public User Author
|
||||
{
|
||||
get => author;
|
||||
|
Reference in New Issue
Block a user