user login, register, hashed passwords, announcements start

This commit is contained in:
Dimitar Byalkov
2023-03-29 11:29:25 +02:00
parent e296205466
commit f858c47ff7
27 changed files with 623 additions and 125 deletions

View File

@@ -0,0 +1,45 @@
using StudentHouseDashboard.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StudentHouseDashboard
{
public abstract class GenericMessage
{
private User author;
private string description;
private string title;
private DateTime publishDate;
protected GenericMessage(User author, string description, string title, DateTime publishDate)
{
Author = author;
Description = description;
Title = title;
PublishDate = publishDate;
}
public User Author
{
get => author;
set => author = value;
}
public string Description
{
get => description;
set => description = value;
}
public string Title
{
get => title;
set => title = value;
}
public DateTime PublishDate
{
get => publishDate;
set => publishDate = value;
}
}
}